Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!

cracked.io | Best Forum Around | Free Premium Accounts




 2556

my first pyhon help me fix it :D

by NelosssN - 04 January, 2023 - 06:32 PM
This post is by a banned member (NelosssN) - Unhide
NelosssN  
Registered
92
Posts
2
Threads
4 Years of service
#1
Code:
 
import requests
import random
import string
def generate_link(id):
  return f'https://prnt.sc/{id}'
# Get all the letters and digits
characters = string.ascii_letters + string.digits
# Generate a random 6 letter or digit string
id = ''.join(random.choices(characters, k=6))
# Read the proxy list from the text file
with open('proxies.txt', 'r') as f:
  proxy_list = f.readlines()
# Convert the proxy list to a dictionary
proxies = {}
for proxy in proxy_list:
  ip, port = proxy.split(":")
  proxies[ip] = port
# Create a link using the random string
link = generate_link(id)
# Send a request to the link using the proxies
response = requests.get(link, proxies=proxies)
# Check the status code to see if the link is valid
if response.status_code == 200:
  print(f'Link is valid: {link}')
else:
  print(f'Link is invalid: {link}')
can some make it working for me :D because im know squat shit
This post is by a banned member (DarkBoosts) - Unhide
This post is by a banned member (Bloodhoundr) - Unhide
This post is by a banned member (words) - Unhide
words  
Supreme
1.487
Posts
324
Threads
4 Years of service
#4
(This post was last modified: 10 January, 2023 - 06:18 PM by words. Edited 1 time in total.)
Code:
#Goofy ahhhh spaghetti coded code
import requests, random, string
characters = string.ascii_letters + string.digits
def generate_link():
    global characters
    id = ''.join(random.choices(characters, k=6))
    link = f'https://prnt.sc/{id}'
    with requests.get(f'{link}') as r:
        if r.status_code==200:
            print(f'Link is valid: {link}')
        else:
            print(f'Link is invalid: {link}')

while True:
    generate_link()

This is gah damn no fortnite cuh,

now add proxy implementation using other user code, add multiprocessing (for better cpu usage) and you're good to go.
I do not sell anything. I do not have a public Discord / Telegram. I will never ask anyone for money / refuse any deal via middleman. I will never deny to confirm my identity via PM before any deal. Stay safe, I have impersonators.
(-.-)Zzz...

https://youtu.be/EDVrTYW2l84

 

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)