Skip to content

Instantly share code, notes, and snippets.

View c0d3x27's full-sized avatar
:octocat:
Working from home

c0d3x27 c0d3x27

:octocat:
Working from home
View GitHub Profile
@c0d3x27
c0d3x27 / file.py
Last active March 28, 2021 14:01
instagram bot
from time import sleep
from selenium import webdriver
browser = webdriver.Firefox()
browser.get('https://www.instagram.com/')
sleep(5)
browser.close()
@c0d3x27
c0d3x27 / Terminal
Created November 8, 2020 23:33
Command to install instagram bot
cd Desktop
git clone https://github.com/mustafadalga/Instagram-Bot
cd Instagram-Bot
python -m pip install -r .\requirements.txt
@c0d3x27
c0d3x27 / Terminal
Created November 8, 2020 23:35
command to run instagram bot
python instagram.py
@c0d3x27
c0d3x27 / App Code
Last active April 2, 2022 03:37
Amazon python bot
import requests
from bs4 import BeautifulSoup
import smtplib
import time
frommail = '@gmail.com'
passwd = 'dbxnbknpiqbsosoi'
tomail = '@hotmail.com'
URL = 'https://www.amazon.com/Apple-MacBook-13-inch-Storage-Keyboard/dp/B0881ZF6WP/ref=sr_1_1?dchild=1&keywords=mac+pro&sr=8-1'
@c0d3x27
c0d3x27 / whatever.py
Created November 11, 2020 14:34
script to check for domain status
import requests
import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
def isdomainlive(domain): httpsUrl = "https://" + domain httpUrl = "http://" + domain urls = []
try: requests.get(httpsUrl + "/robots.txt", timeout = 5, verify = False) urls.append(httpsUrl) except: pass
try: requests.get(httpUrl + "/robots.txt", timeout = 5, verify = False)
urls.append(httpUrl)
except:
pass
if urls:
@c0d3x27
c0d3x27 / fuzzing.py
Last active March 28, 2021 14:02
the directory wordlist from dirsearch repository
import requests
import wfuzz
import checkdomains
wordlist = requests.get('https://raw.githubusercontent.com/maurosoria/dirsearch/master/db/dicc.txt').text.split("\n")
domains = open("bug-bounty-domains-2.txt", "r")
payloads = wfuzz.get_payload(wordlist)
for domain in domains.readlines():
subdomains = open(domain.rstrip("\n") + "_subdomains.txt", "r")
for subdomain in subdomains.readlines():
urls = checkdomains.isdomainlive(subdomain.rstrip("\n"))
import requests,re
from urllib.parse import unquote
import checkdomains
domains = open("Domains-to-test.txt","r")
for domain in domains.readlines():
subdomains = open(domain.rstrip("\n")+"_subdomains.txt","r")
for subdomain in subdomains.readlines():
buckets = []
urls = checkdomains.isdomainlive(subdomain.rstrip("\n"))
if urls:
@c0d3x27
c0d3x27 / Terminal
Last active February 5, 2023 00:39
aws cli
pip install aws-cli #or pip install awscli
aws configure
@c0d3x27
c0d3x27 / World_Feelings.py
Last active March 28, 2021 14:01
Sentiment Comparation Engine
import tweepy
from textblob import TextBlob
import preprocessor as p
import statistics
from typing import List
from keys import consumer_key, consumer_secret
import preprocessor
import time
import os
from banner import __header__
@c0d3x27
c0d3x27 / banner.py
Created December 2, 2020 18:20
Twitter custom banner
__header__ = '''
dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
dddddxk0KKOxddddddddddddddddddddddddddddddddddddxOKK0kdx0KKOxddddddddk0KKOxdddddddddddddddddddddddddddddddddddddddddddddddddddddddddkO0K00Oxddxkxddddd
dddddkNMMMNOdddddddddddddddddddddddddddddddddddd0WMMMKxKMMMWKxddddddxKMMMW0xddddddddddddddddddddddddddddddddddddddddx0KOxdddddddddx0NMMMMMWNXXKOxddddd
dddddkNMMMW0xkkkkxkxxdddddddddddddddddddddddddddOXWWXOkXMMMMKxddddddkXMMMMKxxdddddddddddddddddddddddddddddddddddddddxXMWX0kxdddddxKMMMMMMMMMMWXOxddddd
dddddkNMMMMWNNNNNNNNXkxO00OxddddxO00kxddddk000kddxOOkdxXMMMMKxxxxxxdkNMMMMKkxxxxxddddddkOO0000Ok