Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
libcgi-ajax-perl /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
CGI-Application-Ajax-ex01.pl
930
B
-rwxr-xr-x
CGI-Application-Ajax-ex02.pl
1015
B
-rwxr-xr-x
CGI-Application-Ajax-ex03.pl
1.76
KB
-rwxr-xr-x
convert_degrees.pl
969
B
-rw-r--r--
pjx_JSON.pl
1.17
KB
-rwxr-xr-x
pjx_JSON_out.pl
286
B
-rwxr-xr-x
pjx_NO_CACHE_callee.pl
239
B
-rwxr-xr-x
pjx_NO_CACHE_caller.pl
1.15
KB
-rwxr-xr-x
pjx_callback.pl
1.35
KB
-rwxr-xr-x
pjx_chained.pl
1.11
KB
-rwxr-xr-x
pjx_change_encoding.pl
869
B
-rwxr-xr-x
pjx_change_headers.pl
778
B
-rwxr-xr-x
pjx_checkbox.pl
677
B
-rwxr-xr-x
pjx_combo.pl.gz
1.96
KB
-rw-r--r--
pjx_cr.pl
1.43
KB
-rwxr-xr-x
pjx_dynselect.pl
3.25
KB
-rwxr-xr-x
pjx_formDump.pl
1.3
KB
-rwxr-xr-x
pjx_from_span.pl
1.2
KB
-rwxr-xr-x
pjx_loading.pl
1.7
KB
-rwxr-xr-x
pjx_manyret.pl
2.06
KB
-rwxr-xr-x
pjx_nobuild.pl
727
B
-rwxr-xr-x
pjx_objects_2_url.pl
1.28
KB
-rwxr-xr-x
pjx_podex.pl
1.82
KB
-rwxr-xr-x
pjx_radio.pl
1.29
KB
-rwxr-xr-x
pjx_splitargs.pl
1.17
KB
-rwxr-xr-x
pjx_subs.pl
1.42
KB
-rwxr-xr-x
pjx_url.pl
971
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : pjx_manyret.pl
#! /usr/bin/perl -w # this is an example script of how you would use coderefs to define # your CGI::Ajax functions, and the methods return multiple results to # the page # # NB The CGI::Ajax object must come AFTER the coderefs are declared. use strict; use CGI::Ajax; use CGI; my $q = new CGI; my $exported_fx = sub { my $value_a = shift; my $value_b = shift; $value_a = "" if not defined $value_a; # make sure there's def $value_b = "" if not defined $value_b; # make sure there's def if ( $value_a =~ /\D+/ or $value_a eq "" ) { return( $value_a, $value_b, 'NaN' ); } elsif ( $value_b =~ /\D+/ or $value_b eq "" ) { return( $value_a, $value_b, 'NaN' ); } else { # got two numbers, so lets multiply them together return( $value_a, $value_b, $value_a * $value_b ); } }; my $Show_Form = sub { my $html = ""; $html .= <<EOT; <HTML> <HEAD><title>CGI::Ajax Multiple Return Value Example</title> </HEAD> <BODY> <form> Enter something: <input type="text" name="val1" id="val1" size="6" onkeyup="myfunc( ['val1','val2'], ['inputa','inputb','resultdiv'] ); return true;"><br> Enter something else: <input type="text" name="val2" id="val2" size="6" onkeyup="myfunc( ['val1','val2'], ['inputa','inputb','resultdiv'] ); return true;"><br> <hr> <table> <tr> <td>Input A</td> <td>Input B</td> <td>Result</td> </tr> <tr> <td> <div id="inputa" style="text-align: center; border: 1px solid black; width: 80px; height: 20px; overflow: auto"></div> </td> <td> <div id="inputb" style="text-align: center; border: 1px solid black; width: 80px; height: 20px; overflow: auto"></div> </td> <td> <div id="resultdiv" style="text-align: center; border: 1px solid black; width: 80px; height: 20px; overflow: auto"></div> </td> </tr> </table> </form> </BODY> </HTML> EOT return $html; }; my $pjx = CGI::Ajax->new( 'myfunc' => $exported_fx); $pjx->JSDEBUG(1); print $pjx->build_html($q,$Show_Form); # this outputs the html for the page
Close