Jump to content

Recommended Posts

advance thank you.

 

I have currently got a shell program that cheeks to see if the user has submitted a pic with a virus or the the pic

has got any encripted code within the pic if so the shell will tell me written to a text file.

all that works.

 

i need to no what php statements i can use to get the .txt file shown to the current user

and update the database for that pic.

 

would i use the file_get_contents() statement?

 

also how does one get only the information i want the user to see only is that eregi?

 

 

file example

 

Virus scanning report  -  19 June 2007 @ 2:16

VIRUS SIGNATURE FILES  //<<< dont need all this 
SIGN.DEF created 18 June 2007 // dont need all this
SIGN2.DEF created 18 June 2007 //dont need all this
MACRO.DEF created 18 June 2007 // dont need all this

Search: test.txt   
Action: Report only //<<<< not needed from here
Files: "Dumb" scan of all files
Switches: /ARCHIVE /PACKED /REPORT=test.txt /WRAP /NOFLOPPY
No viruses found in memory.
Hard disk boot sectors were not scanned.
//to here ?

Results of virus scanning:

Files: 1
MBRs: 0
Boot sectors: 0
Objects scanned: 1

Time: 0:00

No viruses or suspicious files/boot sectors were found.
[code]

[/code]

Link to comment
https://forums.phpfreaks.com/topic/56132-virus-cheeking-files/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.