Web password recovery

Recover a forgotten password to access your URL

If you have a basic authentication activated for your page, you know your login but you have forgotten your password, this script will help you to remind it ;=)

File Name : force_http.vbs
Requirement : none
Author : Jean-Luc Antoine
Submitted : 12/06/2002
Category : 4K
option explicit
Dim PWDVal, oHTTP,c,R

' **** Modify these two lines ****
Const URL="http://myhost/mypage.html"
const UIDVal="MYLOGIN"

'*** and this line if you want to speed up
Const Alphabet="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/*-+&#$_"

'Restart in console mode to display logs
If Right(ucase(wscript.FullName),11)="WSCRIPT.EXE" then
    WScript.CreateObject("WScript.Shell").Run "cscript.exe " & wscript.ScriptFullName,1
    wscript.quit
End If

Set oHTTP=Wscript.CreateObject("Microsoft.XMLHTTP")

PWDVal = Left(Alphabet,1)
Dim x
x=0
Do while OpenURL=401	'Permission denied
	x=(x+1) Mod 80
	'Avoid displaying all : for speed
	If x=0 Then wscript.echo Now & " " & PWDVal

	c=Right(Alphabet,1)
	R=""
	Do While (Right(PWDVal,1)=c) And (PWDVal<>"")
		If PWDVal=c Then
			PWDVal=""
			R=R & Left(Alphabet,1)
		Else
			PWDVal=Left(PWDVal,Len(PWDVAL)-1)
		End If
		R=R & Left(Alphabet,1)
	Loop
	If PWDVal<>"" then
		PWDVal=Left(PWDVal,Len(PWDVAL)-1) & Mid(Alphabet,Instr(Alphabet,Right(PWDVal,1))+1,1)
	End If
	PWDVal=PWDVal & R
Loop
wscript.Echo oHTTP.getAllResponseHeaders
WScript.Echo "status : " & OpenURL & " - pwd=" & PWDVal

Function OpenURL()
	oHTTP.Open "GET",URL,False,UIDVal,PWDVal
	oHTTP.Send
	OpenURL=oHTTP.status
End Function

Server Info
Remote Info
Compress

Batchs
BootSector
Droit
Accessoire GFA
On Now
Ecran plasma
Système d'exploitation
Son
Unités
Scripting
Multilingue
Site Web
Bruit et son
Architecture Google


4K
Color picker
TaskList
Backup files
Mini Port Scanner
Website To CHM
PixyDemo
Web password recovery
4KWebServer
Kill Popup
VBE decoder
Script Optimizer
Database Password Recovery
Class
Ini
EMail validator
Graphical Class
MP3 Info
Pinger Class
IP ranger class
SoftwareMetering
Path Validator
Time Stamper Class
LoggerCLS
HTA
Keyword Ranking
DOM Explorer
HTA-Notepad
PixyPortManager
Other
flashMessage
Kill Popup
VBE decoder (fixed)
Error Codes
Maze generator
Char counter
HTML To Word
ICQ Choose User
ScreenSaver Password decoder
Mp3Playlister - singleList
Long Filename To Short
Trace Math
Dump Hexa File
Self modifying script
Mp3Playlister - multiList
HTANoid
PixyWebServer
Python
Progress indication

©2002 Jean-Luc Antoine. All Rights Reserved. Scripts or any other material on this website may not be redistributed or put as part of ANY collection (script archives, CDs etc) without prior written permission. Permission granted to use and modify any of the scripts found on InterClasse.com