麻豆黑色丝袜jk制服福利网站-麻豆精品传媒视频观看-麻豆精品传媒一二三区在线视频-麻豆精选传媒4区2021-在线视频99-在线视频a

千鋒教育-做有情懷、有良心、有品質的職業教育機構

手機站
千鋒教育

千鋒學習站 | 隨時隨地免費學

千鋒教育

掃一掃進入千鋒手機站

領取全套視頻
千鋒教育

關注千鋒學習站小程序
隨時隨地免費學習課程

當前位置:首頁  >  技術干貨  > Python的Unittest單元測試使用詳解

Python的Unittest單元測試使用詳解

來源:千鋒教育
發布人:xqq
時間: 2023-11-07 18:39:59 1699353599

PytheM是一個Python滲透測試框架。它只能在osnGNU/LinuxOS系統上運行。

安裝

$sudoapt-getupdate$sudoapt-getinstalllibasound-devlibjack-jackd2-devportaudio19-devpython-pyaudiobuild-essentialpython-devlibnetfilter-queue-devlibespeak1libffi-devlibssl-dev$sudogitclonehttps://github.com/m4n3dw0lf/PytheM/$cdPytheM$sudopipinstall-rrequirements.txt

運行

$sudo./pythem

例子

ARP欺騙-HTTP中間人攻擊

命令:

pythem>setinterface[+]Entertheinterface:wlan0pythem>setgateway[+]Enterthegateway:192.168.1.1pythem>arpspoofstart[+]Settingthepacketforwarding.[+]Iptablesredefined.[+]ARPspoofinginitialized.pythem>sniff[+]Enterthefilter:http

ARP+DNS欺騙-重定向到偽造的頁面,收集登錄憑證

使用SET等克隆工具克隆你選中的網站,并部署在Apache2上

命令:

pythem>settarget[+]Enterthetarget(s):192.168.0.8pythem>setinterfacewlan0pythem>setgateway192.168.0.1pythem>arpspoofstart[+]Settingthepacketforwarding.[+]Iptablesredefined.[+]ARPspoofinginitialized.pythem>dnsspoofstart[+]Domaintobespoofed:www.google.com[+]IPaddresstoberedirected:192.168.0.6[+]DNSspoofinginitialized.pythem>sniffdns

SSH暴破-暴力破解

pythem>servicesshstartpythem>settarget[+]Enterthetarget(s):127.0.0.1pythem>setfilewordlist.txtpythem>brute-forcessh[+]Entertheusernametobruteforce:anon123

Web頁面參數暴力破解

首先獲取web頁面登錄時的參數格式id=value

顯示重定向頁面,如果定向到一個不同的頁面則說明猜解正確。

命令

pythem>settargethttp://127.0.0.1/pythem>setfile[+]Enterthepathtothefile:wordlist.txtpythem>brute-forcewebform[+]Brute-Formauthenticationinitialized.[+]Entertheinputidoftheusernamebox:vSIS_ID[+]Entertheinputidofthepasswordbox:vSIS_PASS[+]Entertheusernametobrute-forcetheformulary:root

URL內容爆破

pythem>settarget[+]Enterthetarget(s):http://testphp.vulnweb.com/index.php?id=pythem>setfile1to100.txtpythem>brute-forceurl[+]ContentURLbruterinitialized.

功能

[PytheM–PenetrationTestingFrameworkv0.3.2]

help:

打印幫助信息。

exit/quit:

退出程序。

set:

設置變量的值,參數:

interface

gateway

target

file

arpmode例子:

pythem>setinterface|openinputtoset

或者

pythem>setinterfacewlan0|don'topeninputtosetvalue

print:

打印變量的值,例子:

pythem>printgateway

scan:

進行tcp/manualport/arp掃描.

(應該在設置完網卡和目標后再調用)例子:

pythem>scan

或者

pythem>scantcp

arpspoof:

開始或結束arpspoofing攻擊.(使用rep或req可以設置arp欺騙的模式,rep表示欺騙響應,req表示欺騙請求)

參數

start

stop

例子:

arpspoofstartarpspoofstop

dnsspoof:

開始dnsspoofing攻擊.(應該在arp欺騙攻擊開始后再調用)例子:

pythem>dnsspoofstartpythem>dnsspoofstop

sniff:

開始嗅探數據包(應該在設置網卡后再調用)例子:

pythem>sniffhttp

或者

pythem>sniff

[+]Enterthefilter:port1337andhost10.0.1.5|tcpdumplikeformatorhttp,dnsspecificfilter.

pforensic:

開始分析數據包(應該在設置完網卡和.pcap文件后調用)例子:

pythem>pforensicpforensic>help

brute-force:

開始暴力破解攻擊(應該在設置完目標和字典文件路徑后調用)參數:

ssh|目標是IP地址ipaddressastargeturl|目標是url(包含http://或https://)webform|目標是url(包含http://或https://)例子:pythem>brute-forcewebformpythem>brute-forcessh

geoip:

顯示IP地址的大概位置(應該在設置目標(IP地址)后再調用)例子:

pythem>geoip

或者

pythem>geoip8.8.8.8

decodeandencode:

以選擇的模式解碼和編碼字符串,例子:

pythem>decodebase64pythem>encodeascii

cookiedecode:

解碼base64url編碼的cookie的值,例子:

pythem>cookiedecode

其它在控制臺可以執行的命令,比如cd,ls,nano,cat等。

Jarvis–聲音控制助手

[*]jarvistypejarvis-helptoseethejarvishelppage.examples:pythem>jarvis(以語音識

以上內容為大家介紹了Python的Unittest單元測試使用詳解,希望對大家有所幫助,如果想要了解更多Python相關知識,請關注IT培訓機構:千鋒教育。

tags: python培訓
聲明:本站稿件版權均屬千鋒教育所有,未經許可不得擅自轉載。
10年以上業內強師集結,手把手帶你蛻變精英
請您保持通訊暢通,專屬學習老師24小時內將與您1V1溝通
免費領取
今日已有369人領取成功
劉同學 138****2860 剛剛成功領取
王同學 131****2015 剛剛成功領取
張同學 133****4652 剛剛成功領取
李同學 135****8607 剛剛成功領取
楊同學 132****5667 剛剛成功領取
岳同學 134****6652 剛剛成功領取
梁同學 157****2950 剛剛成功領取
劉同學 189****1015 剛剛成功領取
張同學 155****4678 剛剛成功領取
鄒同學 139****2907 剛剛成功領取
董同學 138****2867 剛剛成功領取
周同學 136****3602 剛剛成功領取
相關推薦HOT
主站蜘蛛池模板: 日日夜夜天天操| 精品国产综合区久久久久久| 男人的肌肌捅女人的肌肌| 欧美国产综合| 男女一区二区三区免费| 国产精品国产三级国产普通话a| 羞羞歪歪| 工囗番漫画全彩无遮挡| 台湾香港澳门三级在线| 日本动漫黑暗圣经| 在线看污网站| 久久66久这里精品99| 女人和拘做受口述| 欧美乱大交xxxxx免费| 一级电影毛片| 粗大的内捧猛烈进出小视频| igao视频网站| 韩国三级大全久久电影| 18末成年禁止观看试看一分钟| 翁熄合h| 岛国大片在线播放| 美国式禁忌| 欧美性猛交xxxx乱大交高清| 狠狠色噜噜狠狠狠狠色吗综合 | 成年女人免费播放影院| 亚洲欧美精品日韩欧美| 欧美另类bbbxxxxx另类| 在线免费观看色片| 性盈盈影院免费视频观看在线一区| 日韩理论电影在线| 日本特黄特黄刺激大片| 第一毛片| 成人三级k8经典网| 日韩中文在线播放| 大陆老太交xxxxⅹhd| 成年人免费视频观看| 强乱中文字幕在线播放不卡| 久久一区二区明星换脸| 丰满妇女做a级毛片免费观看| 男人女人边摸边吃奶边做| 国产精品美女视视频专区|