Advertisement
taosecurity

Pyrdp error: No module named 'twisted'

May 22nd, 2019
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.40 KB | None | 0 0
  1. kl@kali:~$ lsb_release -a
  2. No LSB modules are available.
  3. Distributor ID: Kali
  4. Description: Kali GNU/Linux Rolling
  5. Release: 2019.2
  6.  
  7. kl@kali:~$ sudo apt install libdbus-1-dev libdbus-glib-1-dev
  8.  
  9. Reading package lists... Done
  10. Building dependency tree
  11. Reading state information... Done
  12. The following additional packages will be installed:
  13. libblkid-dev libdbus-glib-1-dev-bin libglib2.0-dev libglib2.0-dev-bin libmount-dev libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libselinux1-dev
  14. libsepol1-dev pkg-config uuid-dev zlib1g-dev
  15. Suggested packages:
  16. libglib2.0-doc
  17. The following NEW packages will be installed:
  18. libblkid-dev libdbus-1-dev libdbus-glib-1-dev libdbus-glib-1-dev-bin libglib2.0-dev libglib2.0-dev-bin libmount-dev libpcre16-3 libpcre3-dev
  19. libpcre32-3 libpcrecpp0v5 libselinux1-dev libsepol1-dev pkg-config uuid-dev zlib1g-dev
  20. 0 upgraded, 16 newly installed, 0 to remove and 112 not upgraded.
  21. Need to get 4,670 kB of archives.
  22. After this operation, 20.5 MB of additional disk space will be used.
  23. Do you want to continue? [Y/n] y
  24. Get:1 http://archive.linux.duke.edu/kalilinux/kali kali-rolling/main amd64 uuid-dev amd64 2.33.1-0.1 [93.6 kB]
  25. Get:2 http://archive.linux.duke.edu/kalilinux/kali kali-rolling/main amd64 libblkid-dev amd64 2.33.1-0.1 [225 kB]
  26. Get:3 http://archive.linux.duke.edu/kalilinux/kali kali-rolling/main amd64 pkg-config amd64 0.29-6 [63.5 kB]
  27. Get:4 http://archive.linux.duke.edu/kalilinux/kali kali-rolling/main amd64 libdbus-1-dev amd64 1.12.12-1 [249 kB]
  28. Get:5 http://archive.linux.duke.edu/kalilinux/kali kali-rolling/main amd64 libdbus-glib-1-dev-bin amd64 0.110-4 [53.7 kB]
  29. Get:6 http://archive.linux.duke.edu/kalilinux/kali kali-rolling/main amd64 libglib2.0-dev-bin amd64 2.58.3-1 [157 kB]
  30. Get:7 http://archive.linux.duke.edu/kalilinux/kali kali-rolling/main amd64 libmount-dev amd64 2.33.1-0.1 [232 kB]
  31. Get:8 http://archive.linux.duke.edu/kalilinux/kali kali-rolling/main amd64 libpcre16-3 amd64 2:8.39-12 [259 kB]
  32. Get:9 http://archive.linux.duke.edu/kalilinux/kali kali-rolling/main amd64 libpcre32-3 amd64 2:8.39-12 [250 kB]
  33. Get:10 http://archive.linux.duke.edu/kalilinux/kali kali-rolling/main amd64 libpcrecpp0v5 amd64 2:8.39-12 [152 kB]
  34. Get:11 http://archive.linux.duke.edu/kalilinux/kali kali-rolling/main amd64 libpcre3-dev amd64 2:8.39-12 [650 kB]
  35. Get:12 http://archive.linux.duke.edu/kalilinux/kali kali-rolling/main amd64 libsepol1-dev amd64 2.8-1 [338 kB]
  36. Get:13 http://archive.linux.duke.edu/kalilinux/kali kali-rolling/main amd64 libselinux1-dev amd64 2.8-1+b1 [169 kB]
  37. Get:14 http://archive.linux.duke.edu/kalilinux/kali kali-rolling/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1 [214 kB]
  38. Get:15 http://archive.linux.duke.edu/kalilinux/kali kali-rolling/main amd64 libglib2.0-dev amd64 2.58.3-1 [1,482 kB]
  39. Get:16 http://archive.linux.duke.edu/kalilinux/kali kali-rolling/main amd64 libdbus-glib-1-dev amd64 0.110-4 [83.7 kB]
  40. Fetched 4,670 kB in 2s (2,408 kB/s)
  41. Selecting previously unselected package uuid-dev:amd64.
  42. (Reading database ... 407466 files and directories currently installed.)
  43. Preparing to unpack .../00-uuid-dev_2.33.1-0.1_amd64.deb ...
  44. Unpacking uuid-dev:amd64 (2.33.1-0.1) ...
  45. Selecting previously unselected package libblkid-dev:amd64.
  46. Preparing to unpack .../01-libblkid-dev_2.33.1-0.1_amd64.deb ...
  47. Unpacking libblkid-dev:amd64 (2.33.1-0.1) ...
  48. Selecting previously unselected package pkg-config.
  49. Preparing to unpack .../02-pkg-config_0.29-6_amd64.deb ...
  50. Unpacking pkg-config (0.29-6) ...
  51. Selecting previously unselected package libdbus-1-dev:amd64.
  52. Preparing to unpack .../03-libdbus-1-dev_1.12.12-1_amd64.deb ...
  53. Unpacking libdbus-1-dev:amd64 (1.12.12-1) ...
  54. Selecting previously unselected package libdbus-glib-1-dev-bin.
  55. Preparing to unpack .../04-libdbus-glib-1-dev-bin_0.110-4_amd64.deb ...
  56. Unpacking libdbus-glib-1-dev-bin (0.110-4) ...
  57. Selecting previously unselected package libglib2.0-dev-bin.
  58. Preparing to unpack .../05-libglib2.0-dev-bin_2.58.3-1_amd64.deb ...
  59. Unpacking libglib2.0-dev-bin (2.58.3-1) ...
  60. Selecting previously unselected package libmount-dev:amd64.
  61. Preparing to unpack .../06-libmount-dev_2.33.1-0.1_amd64.deb ...
  62. Unpacking libmount-dev:amd64 (2.33.1-0.1) ...
  63. Selecting previously unselected package libpcre16-3:amd64.
  64. Preparing to unpack .../07-libpcre16-3_2%3a8.39-12_amd64.deb ...
  65. Unpacking libpcre16-3:amd64 (2:8.39-12) ...
  66. Selecting previously unselected package libpcre32-3:amd64.
  67. Preparing to unpack .../08-libpcre32-3_2%3a8.39-12_amd64.deb ...
  68. Unpacking libpcre32-3:amd64 (2:8.39-12) ...
  69. Selecting previously unselected package libpcrecpp0v5:amd64.
  70. Preparing to unpack .../09-libpcrecpp0v5_2%3a8.39-12_amd64.deb ...
  71. Unpacking libpcrecpp0v5:amd64 (2:8.39-12) ...
  72. Selecting previously unselected package libpcre3-dev:amd64.
  73. Preparing to unpack .../10-libpcre3-dev_2%3a8.39-12_amd64.deb ...
  74. Unpacking libpcre3-dev:amd64 (2:8.39-12) ...
  75. Selecting previously unselected package libsepol1-dev:amd64.
  76. Preparing to unpack .../11-libsepol1-dev_2.8-1_amd64.deb ...
  77. Unpacking libsepol1-dev:amd64 (2.8-1) ...
  78. Selecting previously unselected package libselinux1-dev:amd64.
  79. Preparing to unpack .../12-libselinux1-dev_2.8-1+b1_amd64.deb ...
  80. Unpacking libselinux1-dev:amd64 (2.8-1+b1) ...
  81. Selecting previously unselected package zlib1g-dev:amd64.
  82. Preparing to unpack .../13-zlib1g-dev_1%3a1.2.11.dfsg-1_amd64.deb ...
  83. Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1) ...
  84. Selecting previously unselected package libglib2.0-dev:amd64.
  85. Preparing to unpack .../14-libglib2.0-dev_2.58.3-1_amd64.deb ...
  86. Unpacking libglib2.0-dev:amd64 (2.58.3-1) ...
  87. Selecting previously unselected package libdbus-glib-1-dev:amd64.
  88. Preparing to unpack .../15-libdbus-glib-1-dev_0.110-4_amd64.deb ...
  89. Unpacking libdbus-glib-1-dev:amd64 (0.110-4) ...
  90. Setting up libpcrecpp0v5:amd64 (2:8.39-12) ...
  91. Setting up libglib2.0-dev-bin (2.58.3-1) ...
  92. Setting up libpcre16-3:amd64 (2:8.39-12) ...
  93. Setting up libdbus-glib-1-dev-bin (0.110-4) ...
  94. Setting up libsepol1-dev:amd64 (2.8-1) ...
  95. Setting up uuid-dev:amd64 (2.33.1-0.1) ...
  96. Setting up libpcre32-3:amd64 (2:8.39-12) ...
  97. Setting up pkg-config (0.29-6) ...
  98. Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1) ...
  99. Setting up libblkid-dev:amd64 (2.33.1-0.1) ...
  100. Setting up libpcre3-dev:amd64 (2:8.39-12) ...
  101. Setting up libdbus-1-dev:amd64 (1.12.12-1) ...
  102. Setting up libmount-dev:amd64 (2.33.1-0.1) ...
  103. Setting up libselinux1-dev:amd64 (2.8-1+b1) ...
  104. Setting up libglib2.0-dev:amd64 (2.58.3-1) ...
  105. Processing triggers for libc-bin (2.28-8) ...
  106. Processing triggers for man-db (2.8.5-2) ...
  107. Processing triggers for sgml-base (1.29) ...
  108. Processing triggers for libglib2.0-0:amd64 (2.58.3-1) ...
  109. Setting up libdbus-glib-1-dev:amd64 (0.110-4) ...
  110. kl@kali:~$ git clone https://github.com/GoSecure/pyrdp.git
  111. Cloning into 'pyrdp'...
  112. remote: Enumerating objects: 33, done.
  113. remote: Counting objects: 100% (33/33), done.
  114. remote: Compressing objects: 100% (23/23), done.
  115. remote: Total 10609 (delta 15), reused 20 (delta 10), pack-reused 10576
  116. Receiving objects: 100% (10609/10609), 2.05 MiB | 19.43 MiB/s, done.
  117. Resolving deltas: 100% (7901/7901), done.
  118. kl@kali:~$ sudo apt install python3-venv
  119. Reading package lists... Done
  120. Building dependency tree
  121. Reading state information... Done
  122. The following additional packages will be installed:
  123. python3.7-venv
  124. The following NEW packages will be installed:
  125. python3-venv python3.7-venv
  126. 0 upgraded, 2 newly installed, 0 to remove and 112 not upgraded.
  127. Need to get 7,320 B of archives.
  128. After this operation, 44.0 kB of additional disk space will be used.
  129. Do you want to continue? [Y/n] y
  130. Get:1 http://archive.linux.duke.edu/kalilinux/kali kali-rolling/main amd64 python3.7-venv amd64 3.7.3~rc1-1 [6,144 B]
  131. Get:2 http://archive.linux.duke.edu/kalilinux/kali kali-rolling/main amd64 python3-venv amd64 3.7.2-1 [1,176 B]
  132. Fetched 7,320 B in 0s (21.2 kB/s)
  133. Selecting previously unselected package python3.7-venv.
  134. (Reading database ... 408379 files and directories currently installed.)
  135. Preparing to unpack .../python3.7-venv_3.7.3~rc1-1_amd64.deb ...
  136. Unpacking python3.7-venv (3.7.3~rc1-1) ...
  137. Selecting previously unselected package python3-venv.
  138. Preparing to unpack .../python3-venv_3.7.2-1_amd64.deb ...
  139. Unpacking python3-venv (3.7.2-1) ...
  140. Setting up python3.7-venv (3.7.3~rc1-1) ...
  141. Setting up python3-venv (3.7.2-1) ...
  142. Processing triggers for man-db (2.8.5-2) ...
  143.  
  144. kl@kali:~$ cd pyrdp
  145.  
  146. kl@kali:~/pyrdp$ python3 -m venv venv
  147.  
  148. kl@kali:~/pyrdp$ source venv/bin/activate
  149.  
  150. (venv) kl@kali:~/pyrdp$ pip3 install -U pip setuptools wheel
  151.  
  152. Collecting pip
  153. Downloading https://files.pythonhosted.org/packages/5c/e0/be401c003291b56efc55aeba6a80ab790d3d4cece2778288d65323009420/pip-19.1.1-py2.py3-none-any.whl (1.4MB)
  154. 100% |████████████████████████████████| 1.4MB 1.1MB/s
  155. Collecting setuptools
  156. Downloading https://files.pythonhosted.org/packages/ec/51/f45cea425fd5cb0b0380f5b0f048ebc1da5b417e48d304838c02d6288a1e/setuptools-41.0.1-py2.py3-none-any.whl (575kB)
  157. 100% |████████████████████████████████| 583kB 1.9MB/s
  158. Collecting wheel
  159. Downloading https://files.pythonhosted.org/packages/bb/10/44230dd6bf3563b8f227dbf344c908d412ad2ff48066476672f3a72e174e/wheel-0.33.4-py2.py3-none-any.whl
  160. Installing collected packages: pip, setuptools, wheel
  161. Found existing installation: pip 18.1
  162. Uninstalling pip-18.1:
  163. Successfully uninstalled pip-18.1
  164. Found existing installation: setuptools 40.8.0
  165. Uninstalling setuptools-40.8.0:
  166. Successfully uninstalled setuptools-40.8.0
  167. Successfully installed pip-19.1.1 setuptools-41.0.1 wheel-0.33.4
  168.  
  169. (venv) kl@kali:~/pyrdp$ pip3 install -U -e .
  170.  
  171. Obtaining file:///home/kl/pyrdp
  172. Collecting appdirs (from pyrdp==1.0.0)
  173. Downloading https://files.pythonhosted.org/packages/56/eb/810e700ed1349edde4cbdc1b2a21e28cdf115f9faf263f6bbf8447c1abf3/appdirs-1.4.3-py2.py3-none-any.whl
  174. Collecting cryptography (from pyrdp==1.0.0)
  175. Downloading https://files.pythonhosted.org/packages/5b/12/b0409a94dad366d98a8eee2a77678c7a73aafd8c0e4b835abea634ea3896/cryptography-2.6.1-cp34-abi3-manylinux1_x86_64.whl (2.3MB)
  176. |████████████████████████████████| 2.3MB 6.2MB/s
  177. Collecting dbus-python (from pyrdp==1.0.0)
  178. Downloading https://files.pythonhosted.org/packages/3f/e7/4edb582d1ffd5ac3c84188deea32e960b5c8c0fe1da56ce70224f85ce542/dbus-python-1.2.8.tar.gz (787kB)
  179. |████████████████████████████████| 788kB 32.4MB/s
  180. Collecting names (from pyrdp==1.0.0)
  181. Downloading https://files.pythonhosted.org/packages/44/4e/f9cb7ef2df0250f4ba3334fbdabaa94f9c88097089763d8e85ada8092f84/names-0.3.0.tar.gz (789kB)
  182. |████████████████████████████████| 798kB 35.8MB/s
  183. Collecting notify2 (from pyrdp==1.0.0)
  184. Downloading https://files.pythonhosted.org/packages/f9/69/99d2bc2d98a802b6f58d1e0a774a933b3fea5ef11455379561b71c04370b/notify2-0.3.1-py2.py3-none-any.whl
  185. Collecting pyasn1 (from pyrdp==1.0.0)
  186. Downloading https://files.pythonhosted.org/packages/7b/7c/c9386b82a25115cccf1903441bba3cbadcfae7b678a20167347fa8ded34c/pyasn1-0.4.5-py2.py3-none-any.whl (73kB)
  187. |████████████████████████████████| 81kB 25.8MB/s
  188. Collecting pycrypto (from pyrdp==1.0.0)
  189. Downloading https://files.pythonhosted.org/packages/60/db/645aa9af249f059cc3a368b118de33889219e0362141e75d4eaf6f80f163/pycrypto-2.6.1.tar.gz (446kB)
  190. |████████████████████████████████| 450kB 26.5MB/s
  191. Collecting pyopenssl (from pyrdp==1.0.0)
  192. Downloading https://files.pythonhosted.org/packages/01/c8/ceb170d81bd3941cbeb9940fc6cc2ef2ca4288d0ca8929ea4db5905d904d/pyOpenSSL-19.0.0-py2.py3-none-any.whl (53kB)
  193. |████████████████████████████████| 61kB 16.6MB/s
  194. Collecting PySide2 (from pyrdp==1.0.0)
  195. Downloading https://files.pythonhosted.org/packages/b4/91/bbb456684bfd90cd515b5a7fe337e0a7146f6dab49d3fcf63ff9a257e095/PySide2-5.12.3-5.12.3-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl (143.9MB)
  196. |████████████████████████████████| 143.9MB 142kB/s
  197. Collecting pytz (from pyrdp==1.0.0)
  198. Downloading https://files.pythonhosted.org/packages/3d/73/fe30c2daaaa0713420d0382b16fbb761409f532c56bdcc514bf7b6262bb6/pytz-2019.1-py2.py3-none-any.whl (510kB)
  199. |████████████████████████████████| 512kB 42.9MB/s
  200. Collecting rsa (from pyrdp==1.0.0)
  201. Downloading https://files.pythonhosted.org/packages/02/e5/38518af393f7c214357079ce67a317307936896e961e35450b70fad2a9cf/rsa-4.0-py2.py3-none-any.whl
  202. Collecting service_identity (from pyrdp==1.0.0)
  203. Downloading https://files.pythonhosted.org/packages/e9/7c/2195b890023e098f9618d43ebc337d83c8b38d414326685339eb024db2f6/service_identity-18.1.0-py2.py3-none-any.whl
  204. Collecting twisted (from pyrdp==1.0.0)
  205. Downloading https://files.pythonhosted.org/packages/f8/2b/a80a70f71eb2b86992ffa5aaae41457791ae67faa70927fd16b76127c2b7/Twisted-19.2.0.tar.bz2 (3.1MB)
  206. |████████████████████████████████| 3.1MB 24.1MB/s
  207. Collecting six>=1.4.1 (from cryptography->pyrdp==1.0.0)
  208. Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
  209. Collecting cffi!=1.11.3,>=1.8 (from cryptography->pyrdp==1.0.0)
  210. Downloading https://files.pythonhosted.org/packages/a0/ea/37fe21475c884f88a2ae496cab10e8f84f0cc11137be860af9eb37a3edb9/cffi-1.12.3-cp37-cp37m-manylinux1_x86_64.whl (430kB)
  211. |████████████████████████████████| 440kB 24.5MB/s
  212. Collecting asn1crypto>=0.21.0 (from cryptography->pyrdp==1.0.0)
  213. Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl (101kB)
  214. |████████████████████████████████| 102kB 16.7MB/s
  215. Collecting shiboken2==5.12.3 (from PySide2->pyrdp==1.0.0)
  216. Downloading https://files.pythonhosted.org/packages/47/75/9fe76b26277fee1dd5dbc1ade74cbab89400015b04474a9e099ff57a8905/shiboken2-5.12.3-5.12.3-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl (791kB)
  217. |████████████████████████████████| 798kB 25.8MB/s
  218. Collecting pyasn1-modules (from service_identity->pyrdp==1.0.0)
  219. Downloading https://files.pythonhosted.org/packages/91/f0/b03e00ce9fddf4827c42df1c3ce10c74eadebfb706231e8d6d1c356a4062/pyasn1_modules-0.2.5-py2.py3-none-any.whl (74kB)
  220. |████████████████████████████████| 81kB 13.6MB/s
  221. Collecting attrs>=16.0.0 (from service_identity->pyrdp==1.0.0)
  222. Downloading https://files.pythonhosted.org/packages/23/96/d828354fa2dbdf216eaa7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.1.0-py2.py3-none-any.whl
  223. Collecting zope.interface>=4.4.2 (from twisted->pyrdp==1.0.0)
  224. Downloading https://files.pythonhosted.org/packages/3a/b5/5cbafbe09bbfc242503b0cd9bcf9dee32458b3ca166f6a63cb7b4f465b60/zope.interface-4.6.0-cp37-cp37m-manylinux1_x86_64.whl (167kB)
  225. |████████████████████████████████| 174kB 20.0MB/s
  226. Collecting constantly>=15.1 (from twisted->pyrdp==1.0.0)
  227. Downloading https://files.pythonhosted.org/packages/b9/65/48c1909d0c0aeae6c10213340ce682db01b48ea900a7d9fce7a7910ff318/constantly-15.1.0-py2.py3-none-any.whl
  228. Collecting incremental>=16.10.1 (from twisted->pyrdp==1.0.0)
  229. Downloading https://files.pythonhosted.org/packages/f5/1d/c98a587dc06e107115cf4a58b49de20b19222c83d75335a192052af4c4b7/incremental-17.5.0-py2.py3-none-any.whl
  230. Collecting Automat>=0.3.0 (from twisted->pyrdp==1.0.0)
  231. Downloading https://files.pythonhosted.org/packages/a3/86/14c16bb98a5a3542ed8fed5d74fb064a902de3bdd98d6584b34553353c45/Automat-0.7.0-py2.py3-none-any.whl
  232. Collecting hyperlink>=17.1.1 (from twisted->pyrdp==1.0.0)
  233. Downloading https://files.pythonhosted.org/packages/7f/91/e916ca10a2de1cb7101a9b24da546fb90ee14629e23160086cf3361c4fb8/hyperlink-19.0.0-py2.py3-none-any.whl
  234. Collecting PyHamcrest>=1.9.0 (from twisted->pyrdp==1.0.0)
  235. Downloading https://files.pythonhosted.org/packages/9a/d5/d37fd731b7d0e91afcc84577edeccf4638b4f9b82f5ffe2f8b62e2ddc609/PyHamcrest-1.9.0-py2.py3-none-any.whl (52kB)
  236. |████████████████████████████████| 61kB 15.2MB/s
  237. Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography->pyrdp==1.0.0)
  238. Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz (158kB)
  239. |████████████████████████████████| 163kB 29.4MB/s
  240. Requirement already satisfied, skipping upgrade: setuptools in ./venv/lib/python3.7/site-packages (from zope.interface>=4.4.2->twisted->pyrdp==1.0.0) (41.0.1)
  241. Collecting idna>=2.5 (from hyperlink>=17.1.1->twisted->pyrdp==1.0.0)
  242. Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
  243. |████████████████████████████████| 61kB 23.1MB/s
  244. Building wheels for collected packages: dbus-python, names, pycrypto, twisted, pycparser
  245. Building wheel for dbus-python (setup.py) ... done
  246. Stored in directory: /home/kl/.cache/pip/wheels/77/5f/68/8feca31b06e015a95fc463f93bcbf1228f6937f34f354ca60c
  247. Building wheel for names (setup.py) ... done
  248. Stored in directory: /home/kl/.cache/pip/wheels/f9/a5/e1/be3e0aaa6fa285575078fa2aafd9959b45bdbc8de8a6803aeb
  249. Building wheel for pycrypto (setup.py) ... done
  250. Stored in directory: /home/kl/.cache/pip/wheels/27/02/5e/77a69d0c16bb63c6ed32f5386f33a2809c94bd5414a2f6c196
  251. Building wheel for twisted (setup.py) ... done
  252. Stored in directory: /home/kl/.cache/pip/wheels/57/c0/6c/874eb1b6a5ab9ac5434ab9d2700cf78fed3c151ea33cf668af
  253. Building wheel for pycparser (setup.py) ... done
  254. Stored in directory: /home/kl/.cache/pip/wheels/f2/9a/90/de94f8556265ddc9d9c8b271b0f63e57b26fb1d67a45564511
  255. Successfully built dbus-python names pycrypto twisted pycparser
  256. Installing collected packages: appdirs, six, pycparser, cffi, asn1crypto, cryptography, dbus-python, names, notify2, pyasn1, pycrypto, pyopenssl, shiboken2, PySide2, pytz, rsa, pyasn1-modules, attrs, service-identity, zope.interface, constantly, incremental, Automat, idna, hyperlink, PyHamcrest, twisted, pyrdp
  257. Running setup.py develop for pyrdp
  258. Successfully installed Automat-0.7.0 PyHamcrest-1.9.0 PySide2-5.12.3 appdirs-1.4.3 asn1crypto-0.24.0 attrs-19.1.0 cffi-1.12.3 constantly-15.1.0 cryptography-2.6.1 dbus-python-1.2.8 hyperlink-19.0.0 idna-2.8 incremental-17.5.0 names-0.3.0 notify2-0.3.1 pyasn1-0.4.5 pyasn1-modules-0.2.5 pycparser-2.19 pycrypto-2.6.1 pyopenssl-19.0.0 pyrdp pytz-2019.1 rsa-4.0 service-identity-18.1.0 shiboken2-5.12.3 six-1.12.0 twisted-19.2.0 zope.interface-4.6.0
  259.  
  260. (venv) kl@kali:~/pyrdp$ ls
  261. bin CONTRIBUTING.md Dockerfile ext pyrdp README.md setup.py
  262. build docker-compose.yml docs LICENSE pyrdp.egg-info rle.cpython-37m-x86_64-linux-gnu.so venv
  263.  
  264. (venv) kl@kali:~/pyrdp$ ls pyrdp
  265. core enum exceptions.py __init__.py layer logging mcs mitm parser pdu player recording security ui
  266.  
  267. (venv) kl@kali:~/pyrdp$ ls bin
  268. pyrdp-clonecert.py pyrdp-mitm.py pyrdp-player.py
  269.  
  270. (venv) kl@kali:~/pyrdp$ bin/pyrdp-mitm.py 192.168.1.5
  271. Traceback (most recent call last):
  272. File "bin/pyrdp-mitm.py", line 13, in <module>
  273. from twisted.internet import asyncioreactor
  274. ModuleNotFoundError: No module named 'twisted'
  275.  
  276. (venv) kl@kali:~/pyrdp$ pip install twisted
  277. Requirement already satisfied: twisted in ./venv/lib/python3.7/site-packages (19.2.0)
  278. Requirement already satisfied: Automat>=0.3.0 in ./venv/lib/python3.7/site-packages (from twisted) (0.7.0)
  279. Requirement already satisfied: hyperlink>=17.1.1 in ./venv/lib/python3.7/site-packages (from twisted) (19.0.0)
  280. Requirement already satisfied: PyHamcrest>=1.9.0 in ./venv/lib/python3.7/site-packages (from twisted) (1.9.0)
  281. Requirement already satisfied: attrs>=17.4.0 in ./venv/lib/python3.7/site-packages (from twisted) (19.1.0)
  282. Requirement already satisfied: incremental>=16.10.1 in ./venv/lib/python3.7/site-packages (from twisted) (17.5.0)
  283. Requirement already satisfied: zope.interface>=4.4.2 in ./venv/lib/python3.7/site-packages (from twisted) (4.6.0)
  284. Requirement already satisfied: constantly>=15.1 in ./venv/lib/python3.7/site-packages (from twisted) (15.1.0)
  285. Requirement already satisfied: six in ./venv/lib/python3.7/site-packages (from Automat>=0.3.0->twisted) (1.12.0)
  286. Requirement already satisfied: idna>=2.5 in ./venv/lib/python3.7/site-packages (from hyperlink>=17.1.1->twisted) (2.8)
  287. Requirement already satisfied: setuptools in ./venv/lib/python3.7/site-packages (from PyHamcrest>=1.9.0->twisted) (41.0.1)
  288.  
  289. (venv) kl@kali:~/pyrdp$ bin/pyrdp-mitm.py 192.168.1.5
  290. Traceback (most recent call last):
  291. File "bin/pyrdp-mitm.py", line 13, in <module>
  292. from twisted.internet import asyncioreactor
  293. ModuleNotFoundError: No module named 'twisted'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement