String Shellcode |
Shellcode will be cleaned of non-hex bytes using the following algorithm:
1 |
s = s.replace(/(0x|0X)/g, "" ); |
2 |
s = s.replace(/[^A-Fa-f0-9]/g, "" ); |