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
// init dependecies | |
var readline = require('readline'); | |
var rl = readline.createInterface(process.stdin, process.stdout); | |
var fs = require('fs'); | |
var personDetails = { | |
name : "", | |
sayings: [] | |
} |
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
var https = require('https'); | |
var fs = require('fs'); | |
var options = { | |
hostname : "en.wikipedia.org", | |
port : 443, | |
path : "/wiki/Google", | |
method : "GET" | |
}; |
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
const fs = require('fs'); | |
fs.readFile('file.js', (err,data) => { | |
if (err) return console.error(err); | |
console.log(data.toString()); | |
}); |
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
<!DOCTYPE html> | |
<html> | |
<body> | |
<p id="clickme" onclick="clicked()"> Click me I\'m sexy </p> | |
<script> | |
// JS Code jere | |
function clicked() { | |
document.getElementById("clickme").innerHTML = "YOU CLICKED ME!"; | |
} | |
</script> |
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
<head><!--<script type="text/javascript" src="https://connect.facebook.net/en_US/sdk.js"> --></script></head> | |
<body> | |
// your platform code | |
<h1> my platform is amazing </h1> | |
<script> | |
window.fbAsyncInit = function() { | |
FB.init({ | |
appId : 'your-app-id', | |
autoLogAppEvents : true, | |
xfbml : true, |
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
X-Forwarded-Host | |
X-Forwarded-Port | |
X-Forwarded-Scheme | |
Origin: null | |
Origin: [siteDomain].attacker.com | |
X-Frame-Options: Allow | |
X-Forwarded-For: 127.0.0.1 | |
X-Client-IP: 127.0.0.1 | |
Client-IP: 127.0.0.1 | |
---For injecting BXSS(blind XSS) || SQLI payloads--- |
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 | |
#loop by line | |
IFS=$'\n' | |
old_process=$(ps -eo command) | |
while true;do | |
new_process=$(ps -eo command) | |
diff <(echo "$old_process") <(echo "$new_process") | |
sleep 1 | |
old_process=$new_process | |
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
#!/bin/bash | |
#scp vpn.sh root@ip:vpn.sh | |
#chmod 755 vpn.sh | |
echo "Updating and upgrading .. " | |
sudo apt-get update -y 2>&1 >/dev/null | |
sudo apt-get upgrade -y 2>&1 >/dev/null | |
sudo apt-get install git -y 2>&1 >/dev/null | |
echo "Downloading algo and other dependencies .." | |
git clone https://github.com/trailofbits/algo && cd algo 2>&1 >/dev/null |
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 | |
#chmod 755 settings.sh && sudo bash settings.sh | |
echo "apt get update ... " | |
sudo apt-get update | |
sudo apt-get install tree gobuster wpscan -y | |
gem install wpscan | |
wpscan --update | |
echo "initializing... " | |
echo "alias shortcut='nano ~/.bashrc' | |
alias simpleserver='python -m SimpleHTTPServer' |
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
### Keybase proof | |
I hereby claim: | |
* I am momenbasel on github. | |
* I am momenbasel (https://keybase.io/momenbasel) on keybase. | |
* I have a public key ASDSSlAYzNrBAGr2Rxh2xaRlZXUIZ3B2aMqyoeoQIvVFoQo | |
To claim this, I am signing this object: |
OlderNewer