Closed shadihh9 closed 4 years ago
how you install it?
You can install it by python -m pip install py-altdns && export PATH=$PATH:~/.local/bin
and try executing altdns -h
i see this message Traceback (most recent call last):
File "/usr/local/bin/altdns", line 6, in
Do this
python -m pip install py-altdns && export PATH=$PATH:~/.local/bin
i do but the same problem
Traceback (most recent call last):
File "/usr/local/bin/altdns", line 6, in
hmm.. can you try this..
python3 -m pip uninstall py-altdns
after that
i think problem python 2.7 on kali linux
@shadihh9 and anyone running into the same problem, do this:
__main__.py
from Queue import Queue as Queue
to from queue import Queue as Queue
That should resolve it.
Change from Queue import Queue as Queue
to from queue import Queue as Queue
I got following issue (In windows running Python 3.7.4 )
c:\users\91986\appdata\local\programs\python\python38\lib\site-packages\altdns\__main__.py:45: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if actual_sub[-1:] is not ".":
c:\users\91986\appdata\local\programs\python\python38\lib\site-packages\altdns\__main__.py:102: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if len(current_sub[0]) > 0 and actual_sub[:1] is not "-":
c:\users\91986\appdata\local\programs\python\python38\lib\site-packages\altdns\__main__.py:112: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if actual_sub[-1:] is not "-":
c:\users\91986\appdata\local\programs\python\python38\lib\site-packages\altdns\__main__.py:175: SyntaxWarning: "is" with a literal. Did you mean "=="?
if len(result) is 1:
usage: altdns [-h] -i INPUT -o OUTPUT [-w WORDLIST] [-r] [-n] [-e] [-d DNSSERVER] [-s SAVE] [-t THREADS]
optional arguments:
-h, --help show this help message and exit
-i INPUT, --input INPUT
List of subdomains input
-o OUTPUT, --output OUTPUT
Output location for altered subdomains
-w WORDLIST, --wordlist WORDLIST
List of words to alter the subdomains with
-r, --resolve Resolve all altered subdomains
-n, --add-number-suffix
Add number suffix to every domain (0-9)
-e, --ignore-existing
Ignore existing domains in file
-d DNSSERVER, --dnsserver DNSSERVER
IP address of resolver to use (overrides system default)
-s SAVE, --save SAVE File to save resolved altered subdomains to
-t THREADS, --threads THREADS
Amount of threads to run simultaneously
I've merged in a PR that resolves this. Thanks for all the help here.
++ replacing from queue import Queue as Queue to from multiprocessing import Queue in Pyton 3 (Kali) also works with this error
I've merged in a PR that resolves this. Thanks for all the help here.
Doesn't work. Syntax error messages
i dont why is show that when i try to run th software:
Traceback (most recent call last):
File "/usr/bin/altdns", line 33, in
when install tools and dont display altdns.py i cant find it and when use commond dont work