Oracle

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-07 17:22:48907browse

在查看Apache log时,经常在url里面混杂着%3A,%2F等字符,究竟代表什么?只需通过Oracle自带函数转换下就可。

在查看Apache log时,经常在url里面混杂着%3A,%2F等字符,究竟代表什么?只需通过Oracle自带函数转换下就可。

根据16进制查字符:

select chr(to_number('2F','xx')) from dual --/

select chr(to_number('3D','xx')) from dual --=

select chr(to_number('26','xx')) from dual --&

select chr(to_number('3F','xx')) from dual --?

select chr(to_number('3A','xx')) from dual --:

根据字符查16进制:

select to_char(ascii('/'),'XX') from dual --2F

linux

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn