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
''' | |
Connect to an existing, ADB forwarded Android "scrcpy" session | |
and pipe the video stream into FFPlay | |
https://github.com/Genymobile/scrcpy/ | |
''' | |
import socket | |
import struct | |
import sys |
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
# Sets tcp_outgoing_address in squid.conf to point to IP of ppp0 | |
# Ensure the line tcp_outgoing_address already exists in squid.conf! | |
# Crontab set up to reconnect Mac OS VPN like so: | |
# */1 * * * * networksetup -connectpppoeservice "VPN"; ~/SCRIPTS/SetProxyIP.sh; | |
export VPNIP='' | |
CONFDIR=/usr/local/etc/squid.conf | |
for i in 1 2 3 4 5; do |
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
# -*- coding: future_fstrings -*- | |
import os | |
import traceback | |
import sys | |
import time | |
import select | |
import itertools | |
from concurrent import futures | |
from sumoappclient.sumoclient.base import BaseCollector | |
from sumoappclient.omnistorage.factory import ProviderFactory |
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 time | |
import requests | |
from google.cloud import dns | |
# Expecting auth already run in environnment | |
# export GOOGLE_APPLICATION_CREDENTIALS="~/secretkey.json" | |
# stolen from https://googleapis.dev/python/google-api-core/latest/auth.html | |
client = dns.Client(project='YOURPROJECTNAME') |
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
# Custom history configuration | |
# Run script using: | |
# chmod u+x better_history.sh | |
# sudo su | |
# ./better_history.sh | |
GLOBALRC = /etc/bashrc | |
echo ">>> Starting" | |
echo ">>> Loading configuration into $GLOBALRC" | |
echo "HISTTIMEFORMAT='%F %T '" >> $GLOBALRC |
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
{ | |
"logs": [ | |
"5a3f1f1a-065f-44bd-97b0-fb19960e5311", | |
"8a36de7e-667d-4a2a-b51e-9ddcb0e650a1", | |
"4d140f0c-db87-4cd3-a6be-84dc6876e355", | |
"b8580328-15e3-4bda-b7bb-181502e03eba" | |
], | |
"statistics": { | |
"cardinality": 0, | |
"granularity": 0, |
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 glob | |
#AppData\Local\Google\Chrome\User Data\Default\shared_proto_db\*" | |
logfiles = glob.glob("*.ldb") | |
logfiles.extend(glob.glob("*.log")) | |
for fname in logfiles: | |
with open(fname,'rb') as fd: | |
ldbfile = fd.read() | |
downloads=[] | |
for entry in ldbfile.split(b'21_download,')[1:]: |
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
<?php phpinfo() ?> |
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
Write-Host EXPLOITED |
OlderNewer