mirror of
https://github.com/AbdullahRizwan101/CTF-Writeups
synced 2024-11-29 07:00:31 +00:00
Delete ## Input as a Service
This commit is contained in:
parent
6369627a1c
commit
aa45872601
1 changed files with 0 additions and 27 deletions
|
@ -1,27 +0,0 @@
|
|||
## Input as a Service
|
||||
|
||||
<img src="https://imgur.com/iowzjOV.png"/>
|
||||
|
||||
On connecting with the port it shows a python2 shell , giving it an input it shows an error
|
||||
|
||||
<img src="https://imgur.com/xVGZbfx.png"/>
|
||||
|
||||
But if we supply a string it won't break
|
||||
|
||||
<img src="https://imgur.com/k7EVczX.png"/>
|
||||
|
||||
On googling around to import a python module I found a techique to import a module using `___import___` as the input is accepting only string so this will be accepting as string
|
||||
|
||||
<img src="https://imgur.com/UwduQcf.png"/>
|
||||
|
||||
<img src="https://imgur.com/uoNabgx.png"/>
|
||||
|
||||
And we'll get the flag
|
||||
|
||||
<img src="https://imgur.com/ecNQSGg.png"/>
|
||||
|
||||
We can also look at the source
|
||||
|
||||
<img src="https://imgur.com/CgXIak7.png"/>
|
||||
|
||||
With this we solved the challenge !!
|
Loading…
Reference in a new issue