BPC Squad Bank Paypal And Cards | Carders Forum | Carding Forum

- Advertisement Area (For purchasing Ads or Banner contact ) Jabber [email protected] -(Telegram : @bpclover) -



Jerry's Store Excellent bases | AVS checker
Cerberux.CC The king shop with new checker feature attached + high quality spam cards direct from inbox.
Algae For Sale Global rare CC, Best Quality
CC+CVV Private Base Wholesale & Retail | Rare BINs
Bankman.biz Merchants, Banks US/EU, Crypto
BIGSTACKS DUMPS+PINS, EBT+PINS, CC+CVV




- Advertisement Area (For purchasing Ads or Banner contact )-Jabber-[email protected]

Best Regards
BPC Team







-BPCFORUM-  Registration Opened ####.


We are the Best one Carding Forum on Internet And you choose the right place to start Carding World so Enjoy your time with bpc , Also bpc is not responsible for any kind of post Because we are not a post owner So all stuff you will use at your own risk and If you face any kind of problem please feel free to contact with us.. Telegram : @bpclover
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5


Ip Safe Python - Spammers Hackers Carders
#1
Thumbs Up 
Ip Safe Python Script

Good for Spammers Hackers Carders Pentesters

2 Files Save in 1 Folder

file save :- ipsafe.py
file save :- agencies.xml

save agencies in xml file download link :- http://paste.security-portal.cz/view/raw/ce5f260f

Code:
import sys
import xml.etree.ElementTree as et

class AgencyXmlReader:
    def __init__(self, fname):
        self.xmlDoc = et.parse(fname).getroot()

    def agencies(self):
        agencies = [];
        for agency in self.xmlDoc:
            name = agency[0].text
            ipStart = agency[1].text
            ipEnd = agency[2].text
            agencies.append(Agency(name,ipStart,ipEnd))

        return agencies


class Agency:
    def __init__(self, name, ipStart, ipEnd):
        self.name = name
        self.ipStart = ipStart
        self.ipEnd = ipEnd
        self.ipStartParts = self._parts(ipStart)
        self.ipEndParts = self._parts(ipEnd)

    def name(self):
        return self.name

    def ipStart(self):
        return self.ipStart

    def ipEnd(self):
        return self.ipEnd

    def isIpInRange(self,ip):
        ipParts = self._parts(ip)
        contained=True
        for i in range(0,4):
            if self.ipStartParts[i] <= ipParts[i] <= self.ipEndParts[i]:
                continue
            else:
                contained = False
                break
        
        return contained

    def _parts(self,ip):
        return [int(x) for x in ip.split('.')]

        
def main():

    if len(sys.argv) < 2:
        print("Usage: python ipsafe.py <ip address>")
        exit(1)

    ip = sys.argv[1]

    axr = AgencyXmlReader("agencies.xml")
    agencies = axr.agencies()
    isSafe = True

    for agency in agencies:
        if agency.isIpInRange(ip):
            name = agency.name
            ipStart = agency.ipStart
            ipEnd = agency.ipEnd
            
            print(ip + " is not safe, because it's controlled by the FBI.")
            print("The ip is associated with agency " + name + ".")

            print("The agency uses the  following ip range  [" +
                ipStart +
                " - " +
                ipEnd +
                "]")

            print(ip + " falls in range.")
            isSafe = False
            break

    if isSafe:
        print(ip + " is safe.")

main()
Find Rate
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Possibly Related Threads…
Thread Author Replies Views Last Post
  Absolute Python beginer [Ace] 12 12,028 06-02-2018, 08:37 AM
Last Post: whatpigs
  Patator v0.5 Python - Best Cracker subject0 1 4,050 04-23-2018, 12:49 AM
Last Post: bobhojunk
  Python Pocket reference [Ace] 3 4,752 04-23-2018, 12:46 AM
Last Post: bobhojunk
  Smtp Checker Python subject0 2 5,902 09-14-2017, 01:33 PM
Last Post: consuela
  Learning Python [Ace] 6 7,247 02-14-2017, 01:56 PM
Last Post: alioujalan
  Python Fast [Ace] 11 9,257 02-09-2017, 11:59 PM
Last Post: alioujalan
  Start Learning - Python Ruby PHP Pentest And Other subject0 2 3,446 01-22-2017, 11:41 PM
Last Post: Hern314
  Brute SSH Python 2016 subject0 0 2,920 11-20-2016, 02:50 PM
Last Post: subject0
  Enumerate Users Wordpress 2016 Python subject0 0 2,807 11-20-2016, 02:49 PM
Last Post: subject0
  Ip Range Maker Python subject0 0 2,931 11-20-2016, 12:24 PM
Last Post: subject0



Users browsing this thread:
1 Guest(s)

 
Carding forum