Hackfut Security File Manager
Current Path:
/usr/share/perl5/CGI/examples
usr
/
share
/
perl5
/
CGI
/
examples
/
📁
..
📁
WORLD_WRITABLE
📄
caution.xbm
(741 B)
📄
clickable_image.cgi
(808 B)
📄
cookie.cgi
(2.21 KB)
📄
crash.cgi
(131 B)
📄
customize.cgi
(2.4 KB)
📄
diff_upload.cgi
(1.56 KB)
📄
file_upload.cgi
(1.95 KB)
📄
frameset.cgi
(2.03 KB)
📄
index.html
(3.41 KB)
📄
internal_links.cgi
(1019 B)
📄
javascript.cgi
(2.98 KB)
📄
make_links.pl
(196 B)
📄
monty.cgi
(2.04 KB)
📄
multiple_forms.cgi
(1.56 KB)
📄
nph-clock.cgi
(359 B)
📄
nph-multipart.cgi
(263 B)
📄
popup.cgi
(1 KB)
📄
save_state.cgi
(2.26 KB)
📄
tryit.cgi
(780 B)
Editing: popup.cgi
#!/usr/local/bin/perl use CGI; $query = new CGI; print $query->header; print $query->start_html('Popup Window'); if (!$query->param) { print "<H1>Ask your Question</H1>\n"; print $query->start_form(-target=>'_new'); print "What's your name? ",$query->textfield('name'); print "<P>What's the combination?<P>", $query->checkbox_group(-name=>'words', -values=>['eenie','meenie','minie','moe'], -defaults=>['eenie','moe']); print "<P>What's your favorite color? ", $query->popup_menu(-name=>'color', -values=>['red','green','blue','chartreuse']), "<P>"; print $query->submit; print $query->endform; } else { print "<H1>And the Answer is...</H1>\n"; print "Your name is <EM>",$query->param(name),"</EM>\n"; print "<P>The keywords are: <EM>",join(", ",$query->param(words)),"</EM>\n"; print "<P>Your favorite color is <EM>",$query->param(color),"</EM>\n"; } print qq{<P><A HREF="cgi_docs.html">Go to the documentation</A>}; print $query->end_html;
Upload File
Create Folder