The semicolons in the hidden value field act as delimiters, they separate
the UNIX commands, this executes commands on the same line. The system
call in PERL and creates a UNIX shell, and in here mails the passwd file to
you.
d. Changing web pages from your browser:
This short section will describe the string to use to edit
a web page from your web browser. Same scenario as the
first section.... http://www.aol.com.... we will then add
the following string cgi-bin/phf?Qalias=x%0a/bin/echo%20
"some text and shit"%2
0>>filename.html...... This string will allow you to write to the filename.html and add "some text and shit" be noted it has to be in html format. You can place text, pictures or whatever you like.
III - Conclusion
This information should be able to direct a beginner in obtaining
the etc/passwd file from a system using the web browser... It may
also inform the guru's and advanced hackers some bits of
information of perl and cgi. In further reading check out my sec
ond file that will involve erasing log files from the web browser.
I hope you all enjoyed this documentation and found it somewhat
interesting...... wake up!!! thus I conclude.....
Modify.
IV - Suggested Reading
Phrack Magazine: Very informative.... covers just about everything from phreaking to hacking.... Just download all the damn articles.
Building Internet Firewalls by O'Reilly & Associates, Inc. aka "The Big Wooden Door"": Covers all kinds of attacks, different firewall solutions, and invulnerablities.
Perl in 21 days by Samsnet: Good starting book in Perl programming also covers security issues.
Cgi programming by Samsnet: Good starter for Cgi but if you dont know Perl or C programming then dont bother, also covers security issues.