Register for your free account! | Forgot your password?

Go Back   elitepvpers > Off-Topics > Tutorials
You last visited: Today at 07:06

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Hunt For The Administrator’s Page Using PHP Program

Discussion on Hunt For The Administrator’s Page Using PHP Program within the Tutorials forum part of the Off-Topics category.

Reply
 
Old   #1
 
elite*gold: LOCKED
Join Date: Nov 2009
Posts: 3,138
Received Thanks: 2,680
Hunt For The Administrator’s Page Using PHP Program

Today I am going present you a new PHP tutorial which will enable hackers like you to find the administrator page without any hassle.
Let’s get started with the tutorial.

First of all I am going to create a form where you’ll have to input the URL of the website.

Create a basic HTML platform in a new text file with HTML, BODY, TITLE tag etc.

Creating a form:

PHP Code:
    <form action=”adminsearch.php” method=”post”>

    <
p><input type=”text” size=”120&#8243; value=”http://www.website.com/”/>

    
<input value=”find” type=”submit”><br />

    </
form
Now let’s do some PHP magic after the form.

What we are going to do in PHP magic is to search the specified directory. Many websites usually keeps the administrator page separately on the folder with specific name given.

What we are going to do is execute the following code and find the administrator page folder.

Trying out and guessing different form might be tedious job therefore, we’ll create a new text file named folders.txt with the list of our guessed directory.

PHP Code:
    <?php

    
/** Let’s ensure that the page does not timeout unexpectedly hampering our search job**/

    
set_time_limit(0);

    
$Target $_POST['targetSite'];

    
//this function will only execute if the target is provided.

    
if ($Target <> “”) {

    echo 
<br /> Starting <br />;

    
$url $_POST['targetSite'];

    echo 
<br />Targeting.$Target.” <br /><br />;

    
//This function will check for the file named folders.txt which contains the list of suspected administrator folders.

    
$MasterList ‘folders.txt’;

    
// This function will clear the cache to ensure that the status of the file is checked

    
clearstatcache();

    if (
file_exists($MasterList)) {

    echo 
“Retrieving List <br />;

    } else {

    echo 
“The file $MasterList does not exist”;

    }

    
//Open the file and assign each line to a new element in the array

    //Once completed, close the file

    
$fHandler fopen($MasterList“r”);

    while (! 
feof($fHandler)) {

    
$thisline fgets($fHandler);

    
$adminfolder file($MasterList);

    }

    
fclose($fHandler);

    
//This function will try to access each URL and returns the  list of URLs that do not respond with 404 error(Page not found error)

    
foreach ($adminfolder as $adminurl){

    
$headers get_headers(“$Target$adminurl”);

    if (
eregi(‘Not Found’$headers[0])) {

    echo 
“$Target$adminurl NO!<br />;

    }

    else {

    echo 
<a href=’$Target$adminurl’>$Target$adminurl</aHere is the URL of ADMIN Page!<br />;

    }

    }

    }

    
?>
The folders.txt will be as follow:


Now finally lets arrange the whole thing that we’ve created in one place.

Create new text file or use dreamweaver and copy the form and paste below the form paste the PHP code. Finally rename it as adminsearch.php

Place both adminsearch.php and folders.txt in one separate folder and upload it to your web host or local host. Go to the URL that have adminsearch.php and hunt for the administrator’s page for the target website.

Now since you got the location of administrator page, you can play something further to hack in to administrator’s page.

The tutorial is not mine! Copyrighted by Suraj Kayastha
<Custom> is offline  
Thanks
3 Users
Old 04/24/2010, 20:44   #2
 
Megaload's Avatar
 
elite*gold: 1
Join Date: Jan 2010
Posts: 2,571
Received Thanks: 1,141
And a another Tutorial BY the King xDD
Megaload is offline  
Old 04/24/2010, 23:35   #3
 
TheoRettisch's Avatar
 
elite*gold: 30
Join Date: Jun 2009
Posts: 227
Received Thanks: 48
´tschuldigung, aber ich muss mich leider über das Script beschweren, da es voller Fehler ist.
Zum Formular:
- Dem Input feld musst du auch einen Namen zuweisen,
- Die Anführungszeichen korrigieren,
- und den Zahlencode bei´m size=... löschen.

Zum Script:
Die Anführungszeichen und die Apostroph die du gesetzt hast, waren größtenteils nicht richtig. Denn anstatt ein " zu setzen hattest du ein " gesetzt und anstatt ' ein ´. Desweiteren hast du die Datei nicht selber erstellen lassen und dadurch entstand ein Errorloop, der den Browser abstürzen lässt, da er so viel durcharbeiten muss (ist ja halt eine Leerlauf-Schleife). Ich würde dich bitten das Script zu überarbeiten, bis keine Fehler mehr auftauchen, da es so keinem etwas bringt.

Post Scriptum: Ich sehe gerade, dass es garnicht von dir ist sondern von Suraj Kayastha. Wenn du mit ihm in Kontakt stehst, bitte ich dich ihm meine Nachricht zu übermitteln. Oder ändere das Script selber...
TheoRettisch is offline  
Reply


Similar Threads Similar Threads
Administrator ausführen
02/08/2013 - WarRock - 12 Replies
ich habe folgenes problem habe jetz ein Windows 7... so wen ich jetz den Warrock injector als Administrator ausführen, kommt da immer so ein kleines fenster doch wo immer steht z.B zulassen........... oder was weiß ich .. bei mir kommt das kleine fenster nicht, was kann ich machen man muss ja den warrock injector als Administrator ausführen. sonst geht der hack nicht HILFE ^^
@the administrator of this site
05/24/2010 - Soldier Front Hacks, Bots, Cheats & Exploits - 5 Replies
:handsdown: i cant understand what is the new WH i only found this elitepvpers.com in goolge xD ok bye gtg plzz delete the detected hacks :handsdown:;)
Run in administrator
04/02/2008 - Dekaron - 1 Replies
Hi any1 knows how to run 2moons in administrator? i might try it coz all the possible fix is not working, im using windows xp sp2.. this should be my last remedy to get past the connection failed error when launching the game. pls reply coz my mind is already boggling atm. tnx a lot:)
[Bewerbung] Administrator
04/23/2007 - Joining e*pvp - 21 Replies
# ICQ: 218226202 # eMail: [email protected] # Alter: 12 # Wieso willst du Moderator werden? Will Admin werden. Will User löschen. # Wieviel Erfahrung hast du mit dem Thema, zu dessen Forum du dich als Moderator bewirbst? Keine. # Hast du genug Zeit, das Board durchschnittlich alle zwei Tage zu besuchen und dich zu beteiligen?
I have a Question to administrator
07/25/2005 - Main - 4 Replies
i got this Email and i read this Dear Igw, Thank you for visiting Free-Music.com and signing up for your Fr~ee Report "How To Block Unwanted Intruders from Violating your Privacy and Seeing What Files You Download".



All times are GMT +1. The time now is 07:07.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.