facebook facebook twitter rss

Extract Users from /etc/passwd

Author: TUNISIAN CYBER , Published: 22-04-2014
#!/usr/bin/python
#Open Source
#Coders are welcome to edit whenever they want to.
#TUNISIAN CYBER

import time
import os
import sys

print'==============================================='
print'[+] Script Name : XTFEP'
print'[+] Author : TUNISIAN CYBER'
print'[+] Usage : Create usr.txt put cat /etc/passwd content there'
print' Python %s' % sys.argv[0]
print'==============================================='
time.sleep(2)
print'==============================================='
print'[+] Please Wait..'
print'==============================================='
time.sleep(5)
tun = open("usr.txt" , "r")
for line in tun.readlines():
y = line.find(':')
print line[0:y]
print'=====================[Done!]====================='
tun.close()

Like us on Facebook :