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
[].forEach.call($$("*"),function(a){ | |
a.style.outline="1px solid #"+(~~(Math.random()*(1<<24))).toString(16) | |
}) |
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 | |
intf=$1 | |
port=$2 | |
if [ -z "${intf}" ]; then | |
intf="eth0" | |
fi | |
if [ -z "${port}" ]; then | |
port="3306" | |
fi |
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
python3 -m http.server | |
python2 -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
wireshark -k -i <(ssh sheep@46.101.153.159 "tshark -F pcap -w - -f 'not tcp port 22'") |
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
[Unit] | |
Description=Java Service | |
[Service] | |
User=nobody | |
# The configuration file application.properties should be here: | |
WorkingDirectory=/webapps | |
ExecStart=/usr/bin/java -Xmx256m -jar dmgco.jar | |
SuccessExitStatus=143 | |
TimeoutStopSec=10 |
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
location /api { | |
rewrite ^/api(.*) $1 break; | |
proxy_pass http://localhost:8084; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
proxy_set_header Host $http_host; | |
} |
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
nmap -sn 192.168.0.0/24 |
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
require 'httparty' | |
require 'nokogiri' | |
require 'cgi' | |
all_objects = [] | |
('a'..'z').each do |letter| | |
page = 1 | |
total_pages = 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
import requests | |
from bs4 import BeautifulSoup | |
page = 0 | |
urls = [] | |
while True: | |
print(f"Page: {page}") | |
site = requests.get(f"https://pudim.com.br/?page={page}"); | |
if site.status_code is 200: | |
content = BeautifulSoup(site.content, 'html.parser') |
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/sh | |
#Author: rewardone | |
#Description: | |
# Requires root or enough permissions to use tcpdump | |
# Will listen for the first 7 packets of a null login | |
# and grab the SMB Version | |
#Notes: | |
# Will sometimes not capture or will print multiple | |
# lines. May need to run a second time for success. | |
if [ -z $1 ]; then echo "Usage: ./smbver.sh RHOST {RPORT}" && exit; else rhost=$1; fi |
OlderNewer