ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
Source code links not working
Echoo0o


Joined: 30 Mar 2017
Posts: 4
Location: Dubai
Reply with quote
Hey all, I just wanted to ask how to get access to the source code for ClamWin, since the links to the sourceforge don't work. I'm trying to get a hold of it to use for my masters dissertation, by attaching a machine learning detection engine onto it, (and hopefully increasing detection rate for new malware). If anyone could help me out, it would be much appreciated.
View user's profileSend private message
GuitarBob


Joined: 09 Jul 2006
Posts: 4213
Location: USA
Reply with quote
The FAQ on ClamWin sourcecode is at http://www.clamwin.com/content/view/178/27/ on the ClamWin web page.

Here is a link to versions of ClamWin. Look at the Code menu item--it may help. See
https://sourceforge.net/projects/clamwin/files/clamwin/ on the web.

Let me know if you can't get anything. There is very little development of ClamWin nowadays, and new development is sorely needed. Anything you can cone up with, please let us know so we can run it by the developers. There are a couple of guys who might help with testing if you need it.

Good luck!
View user's profileSend private message
ROCKNROLLKID


Joined: 23 Sep 2013
Posts: 561
Location: **UNKNOWN**
Reply with quote
ClamWin port: https://github.com/clamwin/clamav-win32

ClamWin outlook extension: https://github.com/clamwin/pyc

ClamWin QRecover: https://github.com/clamwin/QRecover

ClamWin updater: https://github.com/clamwin/cwupdater

Everything else: https://sourceforge.net/p/clamwin/code/ci/master/tree/
View user's profileSend private message
Echoo0o


Joined: 30 Mar 2017
Posts: 4
Location: Dubai
Reply with quote
Sorry for the really late reply, but I just recently got to work on the code, as I just finished my exams. I just have a few questions regarding compiling the code, in particular, the ClamWin port. Which version of Visual Studio, (or what IDE rather), should I be using to compile? Are there any specific distributables that are required?

To further clarify on what I'm doing - I need to find the function that calls the antivirus engine, then based on that, make a new engine using a machine-learning model, and add it to ClamWin.
View user's profileSend private message
GuitarBob


Joined: 09 Jul 2006
Posts: 4213
Location: USA
Reply with quote
I have informed the ClamWin developers about this. You should get an answer soon.

Thanks for your efforts!

Regards,
View user's profileSend private message
Echoo0o


Joined: 30 Mar 2017
Posts: 4
Location: Dubai
Reply with quote
GuitarBob wrote:
I have informed the ClamWin developers about this. You should get an answer soon.

Thanks for your efforts!

Regards,


I really appreciate it, thanks!
View user's profileSend private message
ROCKNROLLKID


Joined: 23 Sep 2013
Posts: 561
Location: **UNKNOWN**
Reply with quote
You need to use VS2013, as that is what the sourcecode of ClamWin is on. Recently, ClamAV made the switch to VS2015, but has not been merged with ClamWin yet, so eventually you will nee to use VS2015.

You will also need OpenSSL 1.02K, too. Eventually you will need 1.1.0c, as that is what ClamAV is on.

Honestly, if you want my opinion, you are probably better off compiling the ClamAV source code for Windows. More work is being done to that then ClamWin. The ClamAV Windows builds do not have any GUIs, but it shouldn't be too difficult to make a simple GUI for ClamAV.
View user's profileSend private message
Echoo0o


Joined: 30 Mar 2017
Posts: 4
Location: Dubai
Reply with quote
I set up VS2013, and this might sound like a really dumb question, but is there OpenSSL 1.0.2K for Windows? Last I checked GNUWin32 was updated 9 years ago, and uses version 0.9.8h. Should I swap to Ubuntu to save myself the headache?
View user's profileSend private message
GuitarBob


Joined: 09 Jul 2006
Posts: 4213
Location: USA
Reply with quote
A search for that SSL topic turned up this: https://github.com/nodejs/node/pull/11021 on the web. Hope it helps!

Regards,
View user's profileSend private message
sherpya


Joined: 22 Mar 2006
Posts: 894
Location: Italy
Reply with quote
install activestate perl and use visualstudio command prompt

Code:

Visual Studio (unpack with cygwin tar, but I suppose 7zip is ok)

perl Configure VC-WIN32 --prefix=C:\Work\Clamav\openssl\win32\build
ms\do_nasm.bat
change /MT to /MD in ms\nt.mak
nmake -f ms\nt.mak
nmake -f ms\nt.mak install

perl Configure VC-WIN64A --prefix=C:\Work\Clamav\openssl\x64\build
ms\do_win64a.bat
change /MT to /MD in ms\nt.mak
nmake -f ms\nt.mak
nmake -f ms\nt.mak install

MinGW (with MSYS shell, unpack with MinGW tar)
perl Configure mingw no-shared --prefix=/c/Work/Clamav/openssl/mingw/build
make depend
make
make install_sw
View user's profileSend private message
GuitarBob


Joined: 09 Jul 2006
Posts: 4213
Location: USA
Reply with quote
Please let us know if there's anything we can do to help (testing, etc.) and keep us informed as to your progress. I see lots of AVs are now developing a machine learning module.

Regards,
View user's profileSend private message
GuitarBob


Joined: 09 Jul 2006
Posts: 4213
Location: USA
Reply with quote
Has there been any progress on your project?

Regards,
View user's profileSend private message
GuitarBob


Joined: 09 Jul 2006
Posts: 4213
Location: USA
Reply with quote
This is progress check number 2. Any results? Keep us informed!

Regards,
View user's profileSend private message
Source code links not working
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic