Closed minifish120 closed 4 years ago
Hi,
I tried your command, but it works just fine for me. I think your error has something to do with your docker version. My version is the following: Docker version 19.03.5, build 633a0ea838
Best, Nilo
On Mon, 23 Dec 2019 at 01:32, minifish120 notifications@github.com wrote:
hi, i have one question about using your karonte docker image, which is listed as following: when i used the docker by command : "docker run -it badnack/karonte", it reported: OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "open /dev/ptmx: no such file or directory": unknown how should i fixed it?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ucsb-seclab/karonte/issues/1?email_source=notifications&email_token=AAH5GZBIW6R2UXJ36VND5Y3Q2CARBA5CNFSM4J6R5H52YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ICJFPXQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH5GZA62LCWTHVP72S6QZTQ2CARBANCNFSM4J6R5H5Q .
-- Nilo Redini
Site: www.badnack.it Twitter: badnack Skype: badnack PGP key: http://www.badnack.it/Keys/PbKey
when i tried docker version 19.03.5, build 633a0ea838, it reported:
root@vul-test-System-Product-Name:/home/yuych# docker run -it badnack/karonte docker: Error response from daemon: OCI runtime create failed: container_linux.go:346: starting container process caused "process_linux.go:449: container init caused \"open /dev/ptmx: no such file or directory\"": unknown. ERRO[0000] error waiting for container: context canceled root@vul-test-System-Product-Name:/home/yuych# docker --version Docker version 19.03.5, build 633a0ea838
so i changed the docker to version 17.12.1, the second error was missing, but the first still remaied..........
Wait, why are you trying to run angr?
Nilo
On Mon, 23 Dec 2019 at 16:13, minifish120 notifications@github.com wrote:
when i tried docker version 19.03.5, build 633a0ea838, it reported root@vul-test-System-Product-Name:/home/yuych# docker run -it angr/angr docker: Error response from daemon: OCI runtime create failed: container_linux.go:346: starting container process caused "process_linux.go:449: container init caused "open /dev/ptmx: no such file or directory"": unknown. ERRO[0000] error waiting for container: context canceled root@vul-test-System-Product-Name:/home/yuych# docker --version Docker version 19.03.5, build 633a0ea838
so i changed the docker to version 17.12.1, the second error was missing, but the first still remaied..........
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ucsb-seclab/karonte/issues/1?email_source=notifications&email_token=AAH5GZHGCYM7PDVSFKVZB2DQ2FH3HA5CNFSM4J6R5H52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHSFEVQ#issuecomment-568611414, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH5GZBQE3GTVHL2ICEV4WDQ2FH3HANCNFSM4J6R5H5Q .
-- Nilo Redini
Site: www.badnack.it Twitter: badnack Skype: badnack PGP key: http://www.badnack.it/Keys/PbKey
no, not angr/angr, but badnack/karonte:
root@vul-test-System-Product-Name:/home/yuych# docker run -it badnack/karonte docker: Error response from daemon: OCI runtime create failed: container_linux.go:346: starting container process caused "process_linux.go:449: container init caused "open /dev/ptmx: no such file or directory"": unknown. ERRO[0000] error waiting for container: context canceled root@vul-test-System-Product-Name:/home/yuych# docker --version Docker version 19.03.5, build 633a0ea838
because i can't solve the above error now, so i changed to run the karonte directly, but when i runed the following command, it reported:
(angr) yuych@vul-test-System-Product-Name:~/karonte_new$ vi tool/taint_analysis/utils.py
(angr) yuych@vul-test-System-Product-Name:~/karonte_new$ python tool/karonte.py config/NETGEAR/r_7800.json
Traceback (most recent call last):
File "tool/karonte.py", line 6, in
i tried adding "import pyvex" to the tool/taint_analysis/utils.py, but it reported the same error..........
Oh this looks like a bug! I ll take a look as soon as I can.
On Tue, Dec 24, 2019, 9:29 AM minifish120 notifications@github.com wrote:
because i can't solve the above error now, so i changed to run the karonte directly, but when i runed the following command, it reported: (angr) yuych@vul-test-System-Product-Name:/karonte_new$ vi tool/taint_analysis/utils.py (angr) yuych@vul-test-System-Product-Name:/karonte_new$ python tool/karonte.py config/NETGEAR/r_7800.json Traceback (most recent call last): File "tool/karonte.py", line 6, in from binary_dependency_graph.binary_dependency_graph import BinaryDependencyGraph File "/home/yuych/karonte_new/tool/binary_dependency_graph/binary_dependency_graph.py", line 8, in from binary_dependency_graph.cpfs.cpfs import environment, file, socket, semantic, setter_getter File "/home/yuych/karonte_new/tool/binary_dependency_graph/cpfs/init.py", line 7, in from binary_dependency_graph.utils import run_command File "/home/yuych/karonte_new/tool/binary_dependency_graph/utils.py", line 15, in from taint_analysis.utils import get_ord_arguments_call, get_any_arguments_call, ordered_argument_regs File "/home/yuych/karonte_new/tool/taint_analysis/utils.py", line 6, in archinfo.ArchARMEL.registers['r0'][0], KeyError: 'r0'
i tried adding "import pyvex" to the tool/taint_analysis/utils.py, but it reported the same error..........
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ucsb-seclab/karonte/issues/1?email_source=notifications&email_token=AAH5GZG73VHNF76FWPEEXZTQ2HB5RA5CNFSM4J6R5H52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHSY6IY#issuecomment-568692515, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH5GZEGCN3MOMGMEPW5DZDQ2HB5RANCNFSM4J6R5H5Q .
I just pulled the docker image and run your command, and everything worked fine. I can't seem to reproduce your problem. Did you change any configuration/file?
On Tue, 24 Dec 2019 at 01:53, Nilo Redini n.redini@gmail.com wrote:
Oh this looks like a bug! Can you open a ticket on the repo? I ll take a look as soon as I can.
Best, Nilo
On Tue, Dec 24, 2019, 9:29 AM minifish120 notifications@github.com wrote:
because i can't solve the above error now, so i changed to run the karonte directly, but when i runed the following command, it reported: (angr) yuych@vul-test-System-Product-Name:/karonte_new$ vi tool/taint_analysis/utils.py (angr) yuych@vul-test-System-Product-Name:/karonte_new$ python tool/karonte.py config/NETGEAR/r_7800.json Traceback (most recent call last): File "tool/karonte.py", line 6, in from binary_dependency_graph.binary_dependency_graph import BinaryDependencyGraph File "/home/yuych/karonte_new/tool/binary_dependency_graph/binary_dependency_graph.py", line 8, in from binary_dependency_graph.cpfs.cpfs import environment, file, socket, semantic, setter_getter File "/home/yuych/karonte_new/tool/binary_dependency_graph/cpfs/init.py", line 7, in from binary_dependency_graph.utils import run_command File "/home/yuych/karonte_new/tool/binary_dependency_graph/utils.py", line 15, in from taint_analysis.utils import get_ord_arguments_call, get_any_arguments_call, ordered_argument_regs File "/home/yuych/karonte_new/tool/taint_analysis/utils.py", line 6, in archinfo.ArchARMEL.registers['r0'][0], KeyError: 'r0'
i tried adding "import pyvex" to the tool/taint_analysis/utils.py, but it reported the same error..........
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ucsb-seclab/karonte/issues/1?email_source=notifications&email_token=AAH5GZG73VHNF76FWPEEXZTQ2HB5RA5CNFSM4J6R5H52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHSY6IY#issuecomment-568692515, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH5GZEGCN3MOMGMEPW5DZDQ2HB5RANCNFSM4J6R5H5Q .
-- Nilo Redini
Site: www.badnack.it Twitter: badnack Skype: badnack PGP key: http://www.badnack.it/Keys/PbKey
yes, i checked it again, perhaps something wrong with my vm(ubuntu 16.04), and i changed to ubuntu 18.04, it did work, thanks for your attentions~
hi, i have one question about using your karonte docker image, which is listed as following: when i used the docker by command : "docker run -it badnack/karonte", it reported: OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "open /dev/ptmx: no such file or directory": unknown how should i fixed it?