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

-p doesn't work when a "!" is in the password #2

Open
MrEnergy64 opened this issue Feb 28, 2022 · 2 comments
Open

-p doesn't work when a "!" is in the password #2

MrEnergy64 opened this issue Feb 28, 2022 · 2 comments

Comments

@MrEnergy64
Copy link

MrEnergy64 commented Feb 28, 2022

sudo python3 reosploit.py --ip 10.0.224.125 --action enumerate -u username -p Password!01

zsh: event not found: 01

@spicesouls
Copy link
Owner

could be a problem with formatting, try something like
sudo python3 reosploit.py --ip 10.0.224.125 --action enumerate -u username -p "Password!01"

@MrEnergy64
Copy link
Author

MrEnergy64 commented May 24, 2022

This is what I tried already, but will not work as well, because the "!" will interpret as a command:
(in this example, it will repeat the last command 01 from the history)

Tue 24 May 2022 02:04:06 PM CEST ┌──(user㉿gedu-mint)-[~/Downloads/reosploit-main]
└─$ sudo python3 reosploit.py --ip 10.0.224.125 --action enumerate -u user -p "Password!01"

Tue 24 May 2022 02:04:22 PM CEST ┌──(user㉿gedu-mint)-[~/Downloads/reosploit-main]
└─$ sudo python3 reosploit.py --ip 10.0.224.125 --action enumerate -u user -p "Passwordsudo dpkg -i nomachine_6.12.3_7_amd64.deb"

However when I use the "\" in front of the ! I got:

sudo python3 reosploit.py --ip 10.0.224.125 --action enumerate -u user -p "Password\!01"
[sudo] password for user:
Traceback (most recent call last):
File "reosploit.py", line 10, in
import netaddr
ModuleNotFoundError: No module named 'netaddr'

Linux info:

uname -a
Linux gedu-mint.gedu.net 5.16.15-051615-generic #202203181321-Ubuntu SMP PREEMPT Fri Mar 18 13:28:32 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

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

2 participants