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 | |
# your webhook here | |
webhookURL="https://discord.com/api/webhooks/123412341234/ldsakjflsadsdkjfdslfkjdslfkj" | |
main() { | |
poll_log | |
echo "$newLog" > /tmp/currentLog | |
rm -f /tmp/newLog |
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 | |
if [[ $# -eq 0 ]]; then | |
echo "Usage:" | |
echo "Provide compromised /etc/shadow file as command line argument." | |
echo "And make sure you have read permissions on it." | |
echo " e.g. $0 shadow.txt" | |
exit 1 | |
fi |
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
swipe: | |
# 3: | |
# up: | |
# command: 'xdotool key super' | |
# down: | |
# command: 'xdotool key super' | |
# left: | |
# command: 'xdotool key alt+Right' | |
# right: | |
# command: 'xdotool key alt+Left' |
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 python3 | |
# outline of a script to tumble through open ports and run some command for each | |
# take as args (each can be either comma separated cmd line list xor file): | |
# - port list | -p 22,80,443 | -p ports.txt | |
# - host list | -h ftp.example.com,nsa.gov,google.com,cheapddos.ru | -h hosts.txt | |
# cumulative record example matrix | |
# 22 80 443 etc | |
# host1 x x x |
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
# open file to line number | |
self.view.window().open_file("{0}:{1}:{2}".format(file_path_full, line_num, 0), sublime.ENCODED_POSITION) | |
# ^ | |
# You can replace this 0 with a column variable (I think - not tested) | |
# | |
# At this point, file_path_full is: | |
# C:\Users\Austin\Desktop\test.txt | |
# | |
# Of course Python prints two backslashes for escape character reasons, but that will not have an adverse effect on the code itself. | |
# |