Jump to content

virus cheeking files


redarrow

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.