raffaele-forte / climber Goto Github PK
View Code? Open in Web Editor NEWCheck UNIX/Linux systems for privilege escalation
License: GNU General Public License v3.0
Check UNIX/Linux systems for privilege escalation
License: GNU General Public License v3.0
python climber.py --host host_ip --username username --ssh
password
[i] Using driver: shell
[!] [Errno 2] No such file or directory: '/plugins'
$ tree plugins -L 1
plugins
├── file_systems
├── networking
├── operating_system
├── ssh
├── users
└── website
6 directories, 0 files
Hi,
there is a issue on save_logs function.
The problem is that the script prints also the next shell prompt (i.e. tmap@tmapThinkPad:~$ )
I solved the problem replacing the function like that (convert into list, split it, and remove the last element of the list, in this case the prompt):
def save_logs(text, path, filename):
# Make directories
logs = os.path.expanduser(path)
if not os.path.exists(logs):
os.makedirs(logs)
# Write mode creates a new file or overwrites the existing content of the file.
try:
f = open(logs + '/' + filename, 'w')
try:
# Write a sequence of strings to a file
splitted_text=text.split('\n')
f.writelines([item for item in splitted_text[:-1]])
finally:
f.close()
except Exception, error:
sys.exit(ERROR + '\n[!] ' + str(error) + '\n' + ENDC)
Currently only Telnet and SSH supported.
Example:
On the victim: nc -lp 1337 -e /bin/bash
On the attacker: climber -p 1337 ...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.