Comments (4)
Here's what worked for me on a relatively current Kali Docker container (as of 2023-05-01):
# Clone fork, otherwise you'll get indentation errors.
git clone https://github.com/whale3070/SharpShooter
# Get `pip2`.
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py
python2 get-pip.py
# Upgrade `setuptools`, otherwise you'll get an 'egg_info' error.
pip2 install --upgrade setuptools
# Finally, install the requirements.
pip2 install -r requirements.txt
# Run SharpShooter.
python2 SharpShooter.py -h
Note that you should clone the fork used in the snippet above; otherwise you'll get Python indentation errors because of mixed tabs and spaces.
from sharpshooter.
I solved the problem as follows, using virtualenv:
apt-get install virtualenv python3-autopep8 python2-setuptools-whl python2-setuptools-whl
cd /opt/; git clone https://github.com/mdsecactivebreach/SharpShooter.git
cd SharpShooter; pip install -r requirements.txt
autopep8 -i /opt/SharpShooter/modules/excel4.py
virtualenv sharpshooter-venv -p $(which python2)
wget https://bootstrap.pypa.io/pip/2.7/get-pip.py
python get-pip.py
pip install -r requirements.txt
from sharpshooter.
thank @sT0wn-nl
from sharpshooter.
Nice @sT0wn-nl - for some reason virtualenv failed with Python 2 for me so I just did:
sudo apt install python2
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py
python2 get-pip.py
pip2 install -r requirements.txt
pypa.io is part of the official Python project. It's mentioned on https://packaging.python.org/en/latest/specifications/index.html
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
- installing error HOT 15
- .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
- 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.