This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
sudo yum groups install -y Development\ tools | |
sudo yum install -y cmake | |
sudo yum install -y python34-{devel,pip} | |
sudo pip-3.4 install neovim --upgrade | |
( | |
cd "$(mktemp -d)" | |
git clone https://github.com/neovim/neovim.git | |
cd neovim | |
make CMAKE_BUILD_TYPE=Release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import pyping, time, datetime | |
log_file = open('log.txt', "a") | |
def log(ip): | |
ts = time.time() | |
time_stamp = datetime.datetime.fromtimestamp(ts).strftime('%Y-%m-%d %H:%M:%S') | |
log_file.write(time_stamp + ' : ' + ip + '\n') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PyPDF2 import PdfFileWriter, PdfFileReader | |
import os, datetime, time | |
cwd = os.getcwd() | |
root_dir = cwd | |
main_dir = cwd + '\\00\\00' | |
log_path = cwd + '\\PeDeEfLog' | |
log_file_path = log_path + '\\log.txt' | |
class Parser(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
def SRUpdate(): | |
data = requests.get('https://ow-api.com/v1/stats/pc/us/REDACTED/profile').text | |
data = json.loads(data) | |
with open('starting_sr.txt', 'w') as f: | |
f.write(str(data['rating'])) | |
f.close() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Simple TCP 2-way Chat | |
Author: Joseph Paul Langford | |
Contact: Joseph.P.Langford@gmail.com | |
""" | |
import socket | |
import threading | |
from time import sleep | |
import argparse | |
import os |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Installing Printer Drivers..." | |
sudo installer -pkg /Volumes/VBS/bizhub_754_109.pkg -target / | |
echo "Installing Drivers Complete... Adding Printer" | |
lpadmin -p Moton_KM -L "REDACTED" -E -v lpd://1.1.1.1 -P /Library/Printers/PPDs/Contents/Resources/KONICAMINOLTA654.gz | |
echo "Added Printer... Changing Configuration" | |
lpadmin -p Moton_KM -o Finisher=FS534 | |
echo "Added Finisher -> FS534" | |
lpadmin -p Moton_KM -o KMPunchUnit=PK520-23 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#####Domain Enumeration##### | |
#Author: Joseph Langford | |
#Source: Active Directory Attack and Defense - PentesterAcademy.com | |
#.Net "Get Domain" | |
$ADClass = [System.DirectoryServices.ActiveDirectory.Domain] | |
$ADClass::GetCurrentDomain() | |
#Powerview GitHub Location THIS IS A PENTESTING TOOLKIT. DOWNLOADING IN SECURE ENVIRONMENTS CAN TRIGGER WINDOWS DEFENDER | |
"https://github.com/PowerShellMafia/PowerSploit/blob/master/Recon/PowerView.ps1" |