Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

PHP 

Issue with Encoding PHP shell -> b374k-shell [Donating $5-$10]

Hey, I am having issues with encoding b74rk shell https://code.google.com/p/b374k-shell/

to prevent scanning, I have changed all HTML to echo out of PHP and escaped if the quotes are in quotes, but I am getting error ->

Parse error: syntax error, unexpected '=' in C:\xampp\htdocs\test.php(2) : eval()'d code on line 56

which is
PHP Code

<?php 
$pu 
.= "<a href="?d=".$pz."">".$ps[$i]." ".DIRECTORY_SEPARATOR." </a>"; 

and I noticed something weird, when encoding the php script then printing the source using echo(gzinflate..) instead of eval I could check for stuff that changes, and yes it does happen after encoding which is the following:

Before encoding:
PHP Code

<?php 
$res 
= exe("\"".$fpath."\" ".$target); 

After encoding:
PHP Code

<?php 
$res 
= exe(""".$fpath."" ".$target); 

If anyone could help kudos to you and I will donate some $ to your PayPal ($5-10)
You've got to escape the double quotations.
You simply have to re-escape the quotations
Thanks, fixed now. I got someone else to do it for me, now it works perfect.
They're called special characters...


Possibly Related Threads...
Thread / Author Replies Views Last Post
[PHP] by ZykerJan 14, 2022 03:05 AM 8 272 Jan 14, 2022 03:05 AM
Last Post: lunatichero
[Javascript]  by GeatzoMay 11, 2020 08:35 PM 2 101 May 11, 2020 08:35 PM
Last Post: SIM-3991524
[PHP] by SpecsJan 31, 2017 05:04 PM 4 145 Jan 31, 2017 05:04 PM
Last Post: Ryuga