Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*********************************
- * * * * * * * * * * * ** * * * *
- *CODED BY AKASTEP **************
- *WWW.ANTI-armenia.ORG ***********
- ********************************/
- error_reporting(E_ALL);
- set_time_limit(0);
- ini_set('memory_limit','900M');//Memory limit set etmek lazim ola biler cox boyuk fayldirsa//
- $curdir=str_ireplace(basename(preg_replace('/\\\/i','/',realpath(__FILE__))),'',preg_replace('/\\\/i','/',realpath(__FILE__)));
- $inputfile=$curdir . 'wordlist.txt';//burada dublikatlar var.//
- $outputfile=$curdir . 'outputf.txt';//temiz wordlistimiz olacaq bu//
- $farray=file($inputfile,FILE_IGNORE_NEW_LINES) or die('Input Fayli Aca bilmirem!Fayl Yoxdur?');
- if (is_array($farray) && (int)count($farray)!=0)
- {
- $cleen=array_unique($farray);
- !isset($fs) ? $fs=NULL : '';
- foreach($cleen as $wrds)
- {
- $wrds=(string)$wrds;
- if(trim($wrds)!='') $fs.=$wrds . PHP_EOL;
- }
- unset($wrds);
- file_put_contents($outputfile,$fs) or die('OUTPUT FAYLI YAZA BILMIREM!');
- echo 'EMELIYYAT BITDI! DUblikat||@CRLF sayi pozuldu: =>' . (int)(count($farray) - count(file($outputfile))) . PHP_EOL;
- exit;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement