Re: SQL Command Insertion & Execution in Visual FoxPro

From: Franklin DeMatto (franklin.lists@qDefense.com)
Date: 08/07/02


Date: Wed, 07 Aug 2002 17:15:07 -0400
To: vuln-dev@securityfocus.com
From: Franklin DeMatto <franklin.lists@qDefense.com>

I'm realizing now that it would need to be done with one of the functions
that foxpro allows through odbc
This means no commands, and only certain functions
Does anyone have a way? I can't find any funcs that are useful
Is there a way to insert a second command in the same statement (like with
; in SQL Server)?
This would allow using the DO command, which is supported by ODBC

At 02:01 PM 8/7/2002 -0400, you wrote:
>Shell commands can be executed through insertion in a Jet Database through
>|shell("cmd...:)| and in SQL Server through xp_cmdshell
>
>Can they be done in Visual FoxPro? How?

Franklin DeMatto
Senior Analyst, qDefense Penetration Testing
http://qDefense.com
qDefense: Making Security Accessible



Relevant Pages

  • Re: GSM Modem and AT Commands
    ... a modem related group might be a better resource. ... My problem is MSComm ActiveX. ... MSComm is used by FoxPro ... I use AT commands tru MSComm in FoxPro ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Feature is not available?
    ... you don't need the VFP IDE. ... Try separating it out as 2 commands, ... Is it even possible to do a 'Pack' outside of FoxPro 6 itself? ...
    (microsoft.public.fox.programmer.exchange)
  • Re: using Select SQL syntax and performance issues
    ... I have noticed that FoxPro native commands eg REPLACE often vastly ... native commands probably outperform SQL ...
    (microsoft.public.fox.helpwanted)
  • Re: GSM Modem and AT Commands
    ... My problem is MSComm ActiveX. ... MSComm is used by FoxPro ... I use AT commands tru MSComm in FoxPro ... OnComm method, but when I try it on GSM Phone Modem, OnComm ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Foxpro 8 & Citrix
    ... Also I'm suspecting the problem occurs when issuing 'Insert' commands into ... > recreate the index using code. ... This might be some kind of corruption in ... > Microsoft FoxPro Technical Support ...
    (microsoft.public.fox.programmer.exchange)