Created
May 29, 2018 20:52
-
-
Save Cvar1984/e2a7752d7a6c1ce9fc89e5a2c941fee9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<center> | |
<form method="POST"> | |
<input type='text' name='url'/><br/> | |
<input type='submit' name='action'/> | |
</form> | |
</center> | |
<?php | |
isset($_POST['action']) OR die(); | |
$list=explode("\n",file_get_contents('https://raw.githubusercontent.com/the-c0d3r/admin-finder/master/wordlist.txt')); | |
$count = count($list); | |
echo "String Loaded : ".$count."<br/><br/>"; | |
foreach($list as $list) { | |
$url = $_POST['url'].'/'.$list; | |
$ch = curl_init($url); | |
curl_setopt($ch, CURLOPT_USERAGENT, $ua); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); | |
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); | |
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); | |
curl_exec($ch); | |
echo "URL : <font color='red'>".$_POST['url'].'/'.$list."</font><hr/><br/>"; | |
echo "Response : <font color='blue'>".curl_getinfo($ch, CURLINFO_HTTP_CODE)."</font><hr/><br/>"; | |
curl_close($ch); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment