Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trackback (most recent calls last): #35

Open
ec1ipc3 opened this issue May 31, 2022 · 5 comments
Open

Trackback (most recent calls last): #35

ec1ipc3 opened this issue May 31, 2022 · 5 comments

Comments

@ec1ipc3
Copy link

ec1ipc3 commented May 31, 2022

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
Copy link

Use python2

@XFORWORKS
Copy link

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 )

@swordapi
Copy link

swordapi commented Jun 6, 2022

Use http:// and python2 always

@swordapi
Copy link

swordapi commented Jun 6, 2022

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
Copy link

XFORWORKS commented Jun 14, 2022

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.

  • XForWorks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants