H1R0GH057 / Anonymous

1.81k stars 1.14k forks source link

Trackback (most recent calls last): #35

Open ec1ipc3 opened 2 years ago

ec1ipc3 commented 2 years ago

Traceback (most recent call last): File "dark.py", line 197, in host = m.group(1) AttributeError: 'NoneType' object has no attribute 'group'

I`m using python2 but most of the scripts having same problem

swordapi commented 2 years ago

Use python2

XFORWORKS commented 2 years ago

Traceback (most recent call last):

File "dark.py", line 197, in

host = m.group(1)

AttributeError: 'NoneType' object has no attribute 'group'

I`m using python2 but most of the scripts having same problem

@wazzer007 The scripts are made for HTTP protocol type sites, none of the scripts here work for HTTPS protocol, so just don't use sites that start with "https://".

swordapi commented 2 years ago

Use http:// and python2 always

swordapi commented 2 years ago

Traceback (most recent call last):

File "dark.py", line 197, in

host = m.group(1)

AttributeError: 'NoneType' object has no attribute 'group'

I`m using python2 but most of the scripts having same problem

@wazzer007 The scripts are made for HTTP protocol type sites, none of the scripts here work for HTTPS protocol, so just don't use sites that start with "https://".

  • XForWorks ( Retr0 )

Is it possible to edit it to attaxk https:// ?

XFORWORKS commented 2 years ago

Hey @sinaj2889,

Of course, it's possible. Paste this at the end of the code :

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.