H1R0GH057 / Anonymous

1.82k stars 1.15k forks source link

issue with saphyra.py #37

Open ReddyKousic opened 2 years ago

ReddyKousic commented 2 years ago

image how to resolve it

swordapi commented 2 years ago

Use python2 saphyra.py http://target.com/

XFORWORKS commented 2 years ago

Hey @ReddyKousic,

Here's the code for an HTTP/S Protocol. Paste this at the end of the script :

                url = sys.argv[1]
        if url.count("/")==2:
            url = url + "/"
        m = re.search("http\://([^/]*)/?.*", url)
                m2 = re.search("https\://([^/]*)/?.*", url)
                try:
            host = m.group(1)
                except:
                    host = m2.group(1)
        for i in range(700):
            t = HTTPThread()
            t.start()
        t = MonitorThread()
        t.start()

I hope we helped you, the script just needed some pretty simple editing.

iqbalwalker commented 2 years ago

nice just missed it

swordapi commented 2 years ago

@XFORWORKS I get a error

~/Anonymous $ python2 saphyra.py https://dstat.cc/ File "saphyra.py", line 3535 if url.count("/")==2: ^ IndentationError: unexpected indent

swordapi commented 2 years ago

@XFORWORKS Can you upload the by you exited script to mega or anonfiles?

XFORWORKS commented 2 years ago

@sinaj2889 I could do that but the script is remade so it's not working like it was before. The error you have on that line is because of space input, see if you pasted it correctly. If there is a problem, tell me.

swordapi commented 2 years ago

@XFORWORKS thanks for your fast reply the problem is if I just paste it will be all on one line and I dont think that will work and I tried doing the spaces but it didn't work

swordapi commented 2 years ago

@XFORWORKS can you add spaces or what do you mean by remade I can just replace it then by your version

XFORWORKS commented 2 years ago

@sinaj2889 Here is an example of the space input. : image

swordapi commented 2 years ago

@XFORWORKS What about pasting the whole script to paste.it

swordapi commented 2 years ago

@XFORWORKS okkk I'm working with my team against Russia so how can we contact you and what do you mean with false persons

swordapi commented 2 years ago

@XFORWORKS this name is not valid on Discord

mixc2 commented 1 year ago