Skip to content

Instantly share code, notes, and snippets.

View tbalz2319's full-sized avatar

Talal Balouch tbalz2319

View GitHub Profile
@nnja
nnja / taking_notes.py
Last active June 28, 2019 16:49
Python script to select a random person to take notes in a meeting ⌨️🎉
import random
participants = ["Lena", "Seth", "Paul", "Suz", "Nina", "Burke", "Todd"]
print(f"{random.choice(participants)} is taking notes.")
{
"mode": "patterns",
"proxySettings": [
{
"address": "127.0.0.1",
"port": 8080,
"username": "",
"password": "",
"type": 1,
"title": "127.0.0.1:8080",
@tbalz2319
tbalz2319 / virtualenv.txt
Last active January 9, 2020 03:32
Create virtualenv for python
#How to activate the Python Virtual Environment
#MacOSX Mojave custom python from brew
virtualenv -p /usr/local/opt/python@2/bin/python venv
source venv/bin/activate
#Python 2.7+
virtualenv venv
source venv/bin/activate
@tbalz2319
tbalz2319 / software_install.sh
Last active January 3, 2019 04:30
Automate the installation of some of the software listed in software.md
# Pre-requisites
# Ensure Git is installed
#
cd /opt
mkdir -p apps
cd apps
#Install SecLists to /opt/apps
git clone git@github.com:danielmiessler/SecLists.git
@tbalz2319
tbalz2319 / software.md
Last active March 30, 2024 18:00
Software to Install/Configure on New Red/Blue/Purple Team Kali/Linux Box
@timhodson
timhodson / runCommandAllDockers.sh
Created August 17, 2016 09:13
Run a command on all docker containers
for container in `docker ps -q`; do
# show the name of the container
docker inspect --format='{{.Name}}' $container;
# run the command (date in the case)
docker exec -it $container date;
done
@carnal0wnage
carnal0wnage / msgrpc_ssh_version.py
Last active April 19, 2020 14:22
python script to connect to a metasploit msgrpc instance, setup and run an auxilary module.
#!/usr/bin/env python
import sys
import msfrpc
import time
if __name__ == '__main__':
# Create a new instance of the Msfrpc client with the default options
client = msfrpc.Msfrpc({})
# Login to the msf server using the password "abc123"
@UniIsland
UniIsland / SimpleHTTPServerWithUpload.py
Created August 14, 2012 04:01
Simple Python Http Server with Upload
#!/usr/bin/env python
"""Simple HTTP Server With Upload.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
"""