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
from time import sleep | |
from selenium import webdriver | |
browser = webdriver.Firefox() | |
browser.get('https://www.instagram.com/') | |
sleep(5) | |
browser.close() |
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
cd Desktop | |
git clone https://github.com/mustafadalga/Instagram-Bot | |
cd Instagram-Bot | |
python -m pip install -r .\requirements.txt |
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
python instagram.py |
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 | |
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' |
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 | |
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: |
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 | |
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")) |
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,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: |
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
pip install aws-cli #or pip install awscli | |
aws configure |
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 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__ |
OlderNewer