XssEncode
Converts characters from one encoding to another using a transformation.
Details
Installs
- Total 5K
- Win 4K
- Mac 696
- Linux 321
| Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | Feb 13 | Feb 12 | Feb 11 | Feb 10 | Feb 9 | Feb 8 | Feb 7 | Feb 6 | Feb 5 | Feb 4 | Feb 3 | Feb 2 | Feb 1 | Jan 31 | Jan 30 | Jan 29 | Jan 28 | Jan 27 | Jan 26 | Jan 25 | Jan 24 | Jan 23 | Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 1 | 3 | 4 | 3 | 3 | 0 | 0 | 4 | 2 | 4 | 4 | 5 | 0 | 1 | 3 | 3 | 2 | 5 | 3 | 0 | 4 | 4 | 4 | 5 | 2 | 2 | 3 | 0 | 1 | 4 | 1 | 1 | 3 | 1 | 6 | 2 | 6 | 2 | 2 | 3 | 0 | 3 | 3 | 4 | 2 | 6 |
| Mac | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 2 | 1 | 0 | 0 | 1 | 0 | 2 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 2 | 1 | 0 | 0 | 1 | 2 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
| Linux | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Sublime XssEncode
Converts characters from one encoding to another using a transformation. This tool will help you encode payloads in testing sql injections, XSS holes and site security.
Convert the region you selected or convert all characters.
XssEncode supports both Sublime Text 2 and 3.
Installation
Using Package Control to find, install and upgrade XssEncode is the recommended method to install this plug-in.
Otherwise, you can use the following steps manually install:
Open the Sublime Text Packages folder
- OS X: ~/Library/Application Support/Sublime Text 3/Packages/
- Windows: %APPDATA%/Sublime Text 3/Packages/
- Linux: ~/.Sublime Text 3/Packages/ or ~/.config/sublime-text-3/Packages
clone this repo
git clone https://github.com/Medicean/SublimeXssEncode.git
Rename the new folder to xssencode
ChangeLog
See more at ChangeLog
Example Commands
You can type the Command HotKeys(Win:
ctrl+shift+p, OSX: Command+shift+p),typexssencodeand choice your action。Otherwise, click the menu bartools=>XssEncodeand choice your action.
html_escapeConverts characters to their HTML entity.
eg:
a1@&=>a1@&html10_encodeConverts characters to html entity with decimal.
eg:
a1@&=>a1@&html16_encodeConverts characters to html entity with hexadecimal.
eg:
a1@&=>a1@&html_unescapeConverts html entity to characters.
eg:
aaa&=>aaa&base64_encodeUses base64 to encode into base64
eg:
a1@&=>YTFAJg==base64_decodeeg:
YTFAJg===>a1@&url_encodeeg:
alert(/xss/);=>alert%28/xss/%29%3Burl_decodeeg:
alert%28/xss/%29%3B=>alert(/xss/);string_from_char_codeeg:
alert(/xss/);=>String.fromCharCode(97,108,101,114,116,40,47,120,115,115,47,41,59)mysql_chareg:
123=>CHAR(49,50,51)You can excute the sql commands below.
select 123;select CHAR(49,50,51);oracle_chreg:
123=>CHR(49)||CHR(50)||CHR(51)You can excute the sql commands below.
select 123;select CHR(49)||CHR(50)||CHR(51);php_chrConvert characters with function chr.
eg:
Support we have a php backdoor, and the content is
<?php @eval($_REQUEST[cmd]);?>if you want to execute some commands which includes special chars, you can convert it.
ls -al=>CHR(108).CHR(115).CHR(32).CHR(45).CHR(97).CHR(108)now you can request the url below:
http://127.0.0.1/backdoor.php?cmd=system(CHR(108).CHR(115).CHR(32).CHR(45).CHR(97).CHR(108));string_to_hexConvert string to hexadecimal, it's more useful for sql injection.
eg:
root=>726f6f74now you can excute the sql commands below.
SELECT user from mysql.user where user='root';SELECT user from mysql.user where user=0x726f6f74;hex_to_stringeg:
726f6f74=>rootunicode_decodeeg:
测试=>\u6d4b\u8bd5unicode_encodeeg:
\u6d4b\u8bd5=>测试md5_encodeeg:
1=>c4ca4238a0b923820dcc509a6f75849b