Each year, the Rainforest is responsible for over 3000 deaths from accidents, attacks or illnesses. There are over 700 things in the rainforest that cause cancer. Join the fight now and help stop the Rainforest before it's too late
Verwijderd
<?
exec("c:\windows\kladblok.exe");
?>
en je draait IIS ofzo?
go for apache
Het is heel makkelijk in php. Op lijn 7 (line 7 in het engels) klopt iets niet. Rara wat zou dat zijn?Op dinsdag 15 januari 2002 23:39 schreef _DPC_Null2k het volgende:
bla bla bla
code:
1 2 3 4 5 6 7<? Switch($prog) { case 1: exec('C:\windows\notepad.exe'); break; ?>
als ik nou naar de site ga krijg ik :
Parse error: parse error in c:\inetpub\wwwroot\run.php on line 7
Misschien is er een switch-statement niet goed afgesloten(hint)
Oftwel:
je moet nog ff een } plaatsen aan het eind van je code voor ?>
nou doet ie helemaal niks meerOp dinsdag 15 januari 2002 23:41 schreef Joosie het volgende:
probeer eens:
<?
exec("c:\windows\kladblok.exe");
?>
en je draait IIS ofzo?
go for apache
Btw ik draai IIS
Each year, the Rainforest is responsible for over 3000 deaths from accidents, attacks or illnesses. There are over 700 things in the rainforest that cause cancer. Join the fight now and help stop the Rainforest before it's too late
Hmz het lijkt mij handiger om zoals gezegd er eerst eens een } in te gooienOp dinsdag 15 januari 2002 23:43 schreef Tizzwat het volgende:
Je moet de switch nog wel aanroepen..
Zo doet die er niks mee
maar doe maar eens een batch file die een file uitspuugt ofzo - kan je misschien wat meer merken.
zou kunnen toch?
uuhm en batfile wil ook niet echt dan wordt ie als nog opgestart onder de naam IUSR_M1
dus wat moet ik doen om het zichtbaar te laten worden ?
Each year, the Rainforest is responsible for over 3000 deaths from accidents, attacks or illnesses. There are over 700 things in the rainforest that cause cancer. Join the fight now and help stop the Rainforest before it's too late
succes !
exec("c:\windows\cmd.exe /c blaat.exe");
alleen 1 probleempje nog, ik krijg PHP nog niet echt werkend op Apache, als ik PHP ding run krijg ik :
The page cannot be found
(andere Files die in de zelfde map staan pakt ie wel)
Each year, the Rainforest is responsible for over 3000 deaths from accidents, attacks or illnesses. There are over 700 things in the rainforest that cause cancer. Join the fight now and help stop the Rainforest before it's too late
Verwijderd
apache is inderdaad de beste voor php, voor asp weet ik niet, maar probleem met asp is dat die niet goed op een linux bak draait (is windows)...
Hij heeft toch een error op line 7
En ik zie dat hij een } vergeten is....
Als je een parse error krijgt, dan kan je wel bijna zeker zijn dat php geinstalleerd is....
Probeer gewoon eens een } in te voegen voor de ?> tag.
dan zou ik maar eerst zorgen dat je weet of dat programma uberhaupt wel is geinstalleerd. En kan je wel zien of er wat gebeurd, want het lijkt me sterk dat je daar een webcam op de server gericht hebt....