Java defender is a Java application that uses utilizes the socket programming, Client-server architecture and Meta defender API to perfrom seeveral duties.
- Trim Files and Strings: You can give selected text strings and files to remove all leading and trailing spaces from it.
- Sort Files and Strings: Given Files or Strings are sorted.
- Scan Files: You can give any file that you feel might be suspicious and click send. That file, then will be sent to server from where it will be sent to MetaDefender and scanned using 60 Anti-viruses and later results are fetched by the server and sent back to client.
- Scan URL: Using MetaDefender urls are scanned for phishing or spamming using large databse of MetaDefender
- Save Server logs
- Save Client logs
All Those functions are done using server's resources This project can be an excellent step for you to navigate in socket programming and client server architecture. Json library is added to help program parse json. Bash scripts are added to automatically compile and run the files.
If you are on a linux environment just do this: $ chmod +x RunClient.sh RunServer.sh $ ./RunServer.sh $ ./RunClient.java you can manually compile it by running following command Compile both files with the JSON library javac -cp .:json.jar MetaDefenderServer.java MetaDefenderClient.java
Second terminal - run the client (in a new terminal window) java -cp .:json.jar MetaDefenderClient
In Windows, run it using these commands:
javac -cp .;json.jar MetaDefenderServer.java MetaDefenderClient.java
java -cp .;json.jar MetaDefenderClient
- Java Swing
- Core Java
- Socket Programming
Made with <3