This branch is to make this tool python v3 compatible.
Just for fun
Crawls webpage, gathers all links, then performs get
requests on said links.
python python-fun/link-tester/link_test.py https://www.github.com
Runs command/script on remote host via ssh.
python python-fun/ssh-executor/ssh.py --help
usage: ssh.py [-h] -a ADDRESS -c COMMAND -k KEY -u USER
SSH Command Executor
optional arguments:
-h, --help show this help message and exit
-a ADDRESS, --address ADDRESS
Remote Host Address
-c COMMAND, --command COMMAND
Command To Execute, Wrap in quotes('') for commands
with multiple fields.
-k KEY, --key KEY Path To Key
-u USER, --user USER Remote User
Example
python python-fun/ssh-executor/ssh.py -a 165.227.90.238 -u root -k ~/.ssh/id_rsa -c uptime
23:12:53 up 1:01, 0 users, load average: 0.13, 0.05, 0.01
Used Gooey module to create interface around ssh-executor
Works on:
- MacOS
- Windows
python python-fun/ssh-executor/gui/ssh.py
Tiny modules to validate URL strings and response codes. Mainly to test OO python.
import lib.http_code
-http_code.py
is a file in thelib
subdirectory.http_code.check(site)
- is how you reference the class and function then pass a parameter. (site = 'https://www.github.com'
)import lib.validate
-validate.py
is a file in thelib
subdirectory.validate.url(site)
- is how you reference the class and function then pass a parameter. (site = 'https://www.github.com'
)
python python-fun/http_code_checker/main.py https://www.google.com