Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling code from a memo field
Message
 
À
06/07/2005 14:31:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01029391
Message ID:
01029643
Vues:
17
...
...
IF FSEEK(hnd,0,2) = nLen
	* simulate a hacker capture
	cRun = 'notepad.exe "'+cTempFile+ '"'
	RUN &cRun
	* If you are a hacker, then you know whether to do with the program of capture
	DO (cTempFile)
ENDIF
...
...
I guess I misunderstood. I thought you were trying to limit a hacker from injecting code, which I think this could do with a little tweaking.

Of course, as you probably know, there are other ways of injecting code into a VFP app.

I dont have any solutions for the second example except that if you are storing your object code on a server, run your code on the server :)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform