Skip to content

Instantly share code, notes, and snippets.

View felipecaon's full-sized avatar
🌳
A Shrubbery!

Felipe Caon felipecaon

🌳
A Shrubbery!
View GitHub Profile
@felipecaon
felipecaon / jsluice_rules.json
Last active September 13, 2024 02:40
jsluice rules
[
{
"name": "ADMIN_PASSWORD",
"value": "(admin).+(secret|token|key|password).+"
},
{
"name": "AWS API Gateway",
"value": "[0-9a-z]+.execute-api.[0-9a-z.-_]+.amazonaws.com"
},
{
@felipecaon
felipecaon / whoxt_script.py
Created June 27, 2023 13:47
whoxy python script
import requests
apikey = ""
page = 1
url = f"https://api.whoxy.com/?key={apikey}&reverse=whois&identifier=filter&mode=micro&page={page}"
response = requests.get(url)
file_path = 'company.txt'
import socket
import dns.resolver
with open('domainlist.txt') as f:
domain_list = [line.strip() for line in f.readlines()]
for domain in domain_list:
resolver = dns.resolver.Resolver()
nameservers = resolver.query(domain, 'NS')
| Char | Encoded |
| --- | --- |
| space | %20 |
| / | %2f |
| \ | %5c |
| % | %25 |
| . | %2e |
| f | %66 |
| e | %65 |
@felipecaon
felipecaon / httpheaders.txt
Created April 13, 2022 01:09
List of HTTP headders to be used as injection
Client-IP
Forwarded-For-Ip
Forwarded-For
Forwarded
True-Client-IP
X-Client-IP
X-Custom-IP-Authorization
X-Forward-For
X-Forward
X-Forwarded-By
@felipecaon
felipecaon / .ffufrc
Last active June 17, 2024 12:41
.ffurc example file
[general]
colors = true
[http]
headers = [
"User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0"
]
[https]
headers = [
@felipecaon
felipecaon / alienvaultscraper.py
Last active November 23, 2023 16:53
alienvault scraper python
import argparse
import requests
# Define the API endpoint and parameters
base_url = "https://otx.alienvault.com/api/v1/indicators/domain/{domain}/url_list?limit=500&page={page}"
current_domain = ""
def make_request(domain, page):
while True:
{
"builders": [],
"provisioners": [
{
"type": "file",
"source": "./configs",
"destination": "/tmp/configs"
},
{
"execute_command": "chmod +x {{ .Path }}; {{ .Vars }} sudo -E sh '{{ .Path }}'",