我已經在我的 ubuntu 18.04 LTS 中安裝了 wifi-pumpkin。但每當我想運行它時,它都會給我這樣的錯誤
mahim@MyUbuntu:~/Desktop/WiFi-Pumpkin$ sudo wifi-pumpkin
:0: UserWarning: You do not have a working installation of the service_identity module: 'cannot import name opentype'. Please install it from <https://pypi.python.org/pypi/service_identity> and make sure all of its dependencies are satisfied. Without the service_identity module, Twisted can perform only rudimentary TLS client hostname verification. Many valid certificate/hostname mappings may be rejected.
X Error: BadAccess (attempt to access private resource denied) 10
Extension: 130 (MIT-SHM)
Minor opcode: 1 (X_ShmAttach)
Resource id: 0x147
X Error: BadShmSeg (invalid shared segment parameter) 128
Extension: 130 (MIT-SHM)
Minor opcode: 5 (X_ShmCreatePixmap)
Resource id: 0x280000c
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x280000d
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x280000d
WiFi-Pumpkin Already Running.
X Error: BadPixmap (invalid Pixmap parameter) 4
Major opcode: 54 (X_FreePixmap)
Resource id: 0x280000d
X Error: BadShmSeg (invalid shared segment parameter) 128
Extension: 130 (MIT-SHM)
Minor opcode: 2 (X_ShmDetach)
Resource id: 0x280000c
它還提供了一個像這樣的彈出窗口 wifi南瓜錯誤
我該如何解決這個問題?謝謝
答案1
這對我有用:
sudo vim /etc/environment
- 將其添加
QT_X11_NO_MITSHM=1
到文件中 - 用於
:wq
保存並退出
比重新執行你的./wifi-pumpkin