error in docker command
gobiasinfosec opened this issue · comments
had to run the following to get it to work:
docker build . -t log4jpwn:latest
for some reason when it runs its looking for that instead of just log4jpwn
The instructions say to build with docker build -t log4jpwn .
. The order in the command matters. As for it not working, its hard to say what's up without the command used to exploit.
I built it with that command first, it threw the error when built that way until i used the command listed above
That is just BuildKit (part of newer docker versions). That last screenshot shows the build run fine with the correct command too?
That is just BuildKit (part of newer docker versions). That last screenshot shows the build run fine with the correct command too?
yeah i realized i fat fingered it so the initial post in this is fine, its not an issue
--exploit-host
is wrong there. 127.0.0.1
refers to localhost in the container, not outside. You need to specify an IP outside for your Kali.
ahhh gotcha, i will play with that some more than, thank you
seems --leak
works for only java:version
?