Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if(!empty($argv[1]))
- {
- $handle = @fopen($argv[1], "r");
- $androidFile = "DELAY 5000\n";
- if ($handle) {
- while (($buffer = fgets($handle, 4096)) !== false) {
- if($buffer != "")
- {
- $androidFile .= "STRING ".trim($buffer)."\n";
- $androidFile .= "DELAY 1000\n";
- $androidFile .= "ENTER\n";
- $androidFile .= "ENTER\n";
- }
- }
- if (!feof($handle)) {
- echo "Error: unexpected fgets() fail\n";
- }
- fclose($handle);
- }
- file_put_contents("android_wordlist.txt", $androidFile);
- echo "DONE\n";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement