Possible placing arguments in PHP CLI ??? ( E.G: -w wordlist.txt ) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Possible placing arguments in PHP CLI ??? ( E.G: -w wordlist.txt )

I have created a bruteforcer using Python .. I am taking wordlist on the argument as -w , is that possible on PHP CLI mode too? Thanks and Regards Rony Das

17th Jul 2016, 7:33 PM
Rony Das
Rony Das - avatar
1 Answer
0
Of course. You have $argv under certain conditions (if you don't disable it). See here: http://php.net/manual/en/reserved.variables.argv.php
7th Oct 2016, 2:24 PM
Zoltán Zörgő
Zoltán Zörgő - avatar