{"id":28500863,"url":"https://github.com/injector-sec/java-defender","last_synced_at":"2025-07-04T12:31:37.010Z","repository":{"id":293494138,"uuid":"984226111","full_name":"injector-sec/Java-Defender","owner":"injector-sec","description":"Java Defender is a java application m=built for local area network and Small office home office setup","archived":false,"fork":false,"pushed_at":"2025-05-15T16:01:35.000Z","size":80,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-08T15:07:54.796Z","etag":null,"topics":["cybersecurity","java","java-8","malware-detection","security","spam-detection"],"latest_commit_sha":null,"homepage":"https://threatwriter.me","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/injector-sec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-15T15:32:57.000Z","updated_at":"2025-05-15T16:01:41.000Z","dependencies_parsed_at":"2025-05-15T16:54:10.045Z","dependency_job_id":null,"html_url":"https://github.com/injector-sec/Java-Defender","commit_stats":null,"previous_names":["injector-sec/java-defender"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/injector-sec/Java-Defender","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/injector-sec%2FJava-Defender","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/injector-sec%2FJava-Defender/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/injector-sec%2FJava-Defender/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/injector-sec%2FJava-Defender/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/injector-sec","download_url":"https://codeload.github.com/injector-sec/Java-Defender/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/injector-sec%2FJava-Defender/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263539993,"owners_count":23477454,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cybersecurity","java","java-8","malware-detection","security","spam-detection"],"created_at":"2025-06-08T15:07:55.101Z","updated_at":"2025-07-04T12:31:37.004Z","avatar_url":"https://github.com/injector-sec.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java-Defender\nJava defender is a Java application that uses utilizes the socket programming, Client-server architecture and Meta defender API to perfrom seeveral duties.\n![Screenshot 2025-05-15 8 14 13 PM](https://github.com/user-attachments/assets/59dd7fce-4ce2-4976-8556-701e88c381bc)\n\n## Functionalities\n1. Trim Files and Strings: You can give selected text strings and files to remove all leading and trailing spaces from it.\n2. Sort Files and Strings: Given Files or Strings are sorted.\n3. 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.\n4. Scan URL: Using MetaDefender urls are scanned for phishing or spamming using large databse of MetaDefender\n5. Save Server logs\n6. Save Client logs\n\n**All Those functions are done using server's resources**\nThis project can be an excellent step for you to navigate in socket programming and client server architecture.\nJson library is added to help program parse json.\nBash scripts are added to automatically compile and run the files.\n## How to Run?\nIf you are on a linux environment just do this:\n  $ chmod +x RunClient.sh RunServer.sh\n  $ ./RunServer.sh\n  $ ./RunClient.java\nyou can manually compile it by running following command\n **Compile both files with the JSON library**\njavac -cp .:json.jar MetaDefenderServer.java MetaDefenderClient.java\n\n**Second terminal - run the client (in a new terminal window)**\njava -cp .:json.jar MetaDefenderClient\n\nIn Windows, run it using these commands:\n\njavac -cp .;json.jar MetaDefenderServer.java MetaDefenderClient.java\n\njava -cp .;json.jar MetaDefenderClient\n\n## Pictures\n### Options\n![Screenshot 2025-05-15 8 14 02 PM](https://github.com/user-attachments/assets/1a5634fd-5b18-4d92-ad81-7365309cd5be)\n\n### 2. File Scan Results\n![Screenshot 2025-05-15 8 15 04 PM](https://github.com/user-attachments/assets/7e83cea8-2fa4-4d6f-98b0-d20dcf05cbb5)\n\n### 3. URL Scan Results\n![Screenshot 2025-05-15 8 15 44 PM](https://github.com/user-attachments/assets/1c13b5b9-53b8-4dd2-a482-c3bc2719f08d)\n### 4. Server Logs\n![Screenshot 2025-05-15 8 16 09 PM](https://github.com/user-attachments/assets/1d116ff4-4564-492b-b2e5-bb3d3cff5770)\n## Technologies Used:\n1. Java Swing\n2. Core Java\n3. Socket Programming\n\nMade with \u003c3\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finjector-sec%2Fjava-defender","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finjector-sec%2Fjava-defender","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finjector-sec%2Fjava-defender/lists"}