-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 5c66d85
Showing
831 changed files
with
100,655 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# McAntimalware website | ||
I don't have money to host that so feel free to host it lol. I made that in free time with no html knownledge in more than 15h and with help of chatgpt except backend . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="stylesheet" href="./static/css/main.css"> | ||
<title>MCAntiMalware</title> | ||
</head> | ||
<body> | ||
<h1>MCAntiMalware</h1> | ||
<form id="file-upload-form"> | ||
<input type="file" id="file" name="filename" class="fileToUpload"> | ||
<input type="submit" class="uploadButton"> | ||
|
||
</form> | ||
<div class="console"> | ||
<div class="box"> | ||
<div class="statusbox"> | ||
<p id="status">• Waiting...</p> | ||
</div> | ||
<p id="response">Waiting...</p> | ||
|
||
</div> | ||
|
||
</div> | ||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> | ||
<script> | ||
const color = (value) => { | ||
document.documentElement.style.setProperty('--statusColour', value); | ||
}; | ||
|
||
color("#676a72") | ||
// handle form submission | ||
$('#file-upload-form').submit(function(event) { | ||
$("#status").html("• Checking") | ||
color("#f0b133") | ||
// prevent the default form submission behavior | ||
|
||
event.preventDefault(); | ||
|
||
// get the file input element | ||
var fileInput = $('#file')[0]; | ||
|
||
if (!fileInput.files[0]) { | ||
$("#status").html("• Failed") | ||
color("#f13f42") | ||
return $('#response').text("Critical error. No file set!") | ||
|
||
} | ||
color("#23a359") | ||
$("#status").html("• Scanning") | ||
$('#response').text("Scanning...") | ||
// create a new FormData object | ||
var formData = new FormData(); | ||
|
||
// add the file to the FormData object | ||
formData.append('filename', fileInput.files[0]); | ||
|
||
// send the form data to the server using AJAX | ||
$.ajax({ | ||
url: 'http://localhost/api/upload', | ||
type: 'POST', | ||
data: formData, | ||
processData: false, | ||
contentType: false, | ||
success: function(response) { | ||
const message = response.message.replace(/\n/g, "<br>") | ||
console.log(message) | ||
if (response.success) { | ||
/*const wa = document.getElementById("message") | ||
wa.innerHTML = { message: message }*/ | ||
$("#response").html(message) | ||
$("#status").html("• Finished") | ||
color("#676a72") | ||
// $('#response').text(message).addClass('success').removeClass('error'); | ||
} else { | ||
$('#response').text(message).addClass('error').removeClass('success'); | ||
$("#status").html("• Failed") | ||
color("#f13f42") | ||
} | ||
|
||
}, | ||
error: function(error) { | ||
// handle the error here | ||
console.error('File upload error:', error); | ||
$('#response').text('An error occurred. Please try again.').addClass('error').removeClass('success'); | ||
$("#status").html("• Failed") | ||
color("#f13f42") | ||
|
||
|
||
} | ||
}); | ||
}); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="stylesheet" href="./static/css/main.css"> | ||
<title>MCAntiMalware</title> | ||
</head> | ||
<body> | ||
<h1>MCAntiMalware</h1> | ||
<form id="file-upload-form"> | ||
<input type="file" id="file" name="filename" class="fileToUpload"> | ||
<input type="submit" class="uploadButton"> | ||
|
||
</form> | ||
<div class="console"> | ||
<div class="box"> | ||
<div class="statusbox"> | ||
<p id="status">• Waiting...</p> | ||
</div> | ||
<p id="response">Waiting...</p> | ||
|
||
</div> | ||
|
||
</div> | ||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> | ||
<script> | ||
const color = (value) => { | ||
document.documentElement.style.setProperty('--statusColour', value); | ||
}; | ||
|
||
color("#676a72") | ||
// handle form submission | ||
$('#file-upload-form').submit(function(event) { | ||
$("#status").html("• Checking") | ||
color("#f0b133") | ||
// prevent the default form submission behavior | ||
|
||
event.preventDefault(); | ||
|
||
// get the file input element | ||
var fileInput = $('#file')[0]; | ||
|
||
if (!fileInput.files[0]) { | ||
$("#status").html("• Failed") | ||
color("#f13f42") | ||
return $('#response').text("Critical error. No file set!") | ||
|
||
} | ||
color("#23a359") | ||
$("#status").html("• Scanning") | ||
$('#response').text("Scanning...") | ||
// create a new FormData object | ||
var formData = new FormData(); | ||
|
||
// add the file to the FormData object | ||
formData.append('filename', fileInput.files[0]); | ||
|
||
// send the form data to the server using AJAX | ||
$.ajax({ | ||
url: 'http://localhost/api/upload', | ||
type: 'POST', | ||
data: formData, | ||
processData: false, | ||
contentType: false, | ||
success: function(response) { | ||
const message = response.message.split(/\r\n/g) | ||
console.log(message) | ||
|
||
if (response.success) { | ||
var final_message = [] | ||
message.forEach(line => { | ||
console.log(line) | ||
const blacklist = ["[INFO]: Using locale en", "[INFO]: Registering checks", "[INFO]: Finished registering checks", "[INFO]: Started scanning for malicious plugins", "[INFO]: InitializingAny bugs and/or false-positives should be reported either on the GitHub repo, plugin discussion page, or on the discord server"] | ||
if (blacklist.includes(line)) { | ||
return | ||
} else { | ||
final_message.push(line + "<br>") | ||
} | ||
/*if (line.startsWith("[INFO]")) { | ||
line = line.split("[INFO]: ") | ||
console.log(line) | ||
final_message.push("<span style=\"color: blue;\">" + "INFO: " + "</span><span style=\"color: rgb(136, 211, 255)\">" + line[1] + "</span><br>") | ||
console.log("wa") | ||
}*/ | ||
}) | ||
|
||
console.log(final_message) | ||
|
||
$("#response").html(final_message) | ||
$("#status").html("• Finished") | ||
color("#676a72") | ||
|
||
} else { | ||
$('#response').text(message).addClass('error').removeClass('success'); | ||
$("#status").html("• Failed") | ||
color("#f13f42") | ||
} | ||
|
||
}, | ||
error: function(error) { | ||
// handle the error here | ||
console.error('File upload error:', error); | ||
$('#response').text('An error occurred. Please try again.').addClass('error').removeClass('success'); | ||
$("#status").html("• Failed") | ||
color("#f13f42") | ||
|
||
|
||
} | ||
}); | ||
}); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
h1 { | ||
font-size: 150px; | ||
color: white; | ||
text-align: center; | ||
} | ||
body { | ||
background-color: #15151c; | ||
color: white; | ||
font-family: "gg sans", sans-serif; | ||
} | ||
|
||
.fileToUpload { | ||
background-color: #B00B69; | ||
content: "wasa"; | ||
border: none; | ||
padding: 16px 14px; | ||
cursor: pointer; | ||
} | ||
|
||
.uploadButton { | ||
background-color: #B00B69; | ||
border: none; | ||
color: white; | ||
padding: 16px 14px; | ||
cursor: pointer; | ||
} | ||
|
||
input[type=file], input[type=submit] { | ||
|
||
margin: 5px auto; | ||
padding: 12px 20px; | ||
background-color: #B00B69; | ||
|
||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
border-radius: 10px; | ||
} | ||
|
||
.console { | ||
margin-top: 20px; | ||
display: flex; | ||
justify-content: center; | ||
} | ||
|
||
.box { | ||
background-color: #21212c; | ||
height: 380px; | ||
width: 880px; | ||
padding: 20px; | ||
border-radius: 10px; | ||
position: relative; | ||
line-height: 1.5; | ||
size: 12px; | ||
overflow: auto; | ||
} | ||
|
||
.statusbox { | ||
background-color: var(--statusColour); | ||
color: white; | ||
|
||
height: 30px; | ||
width: 100px; | ||
bottom: 442px; | ||
right: 500px; | ||
|
||
padding: 5px; | ||
border-top-right-radius: 10px; | ||
border-bottom-left-radius: 10px; | ||
|
||
text-align: center; | ||
position: fixed; | ||
} | ||
|
||
.statusbox p { | ||
margin: 5px ; | ||
} | ||
|
||
/* width */ | ||
::-webkit-scrollbar { | ||
width: 10px; | ||
padding-left: 20px; | ||
} | ||
|
||
/* Track */ | ||
::-webkit-scrollbar-track { | ||
background: #f1f1f1; | ||
} | ||
|
||
/* Handle */ | ||
::-webkit-scrollbar-thumb { | ||
background: #888; | ||
} | ||
|
||
/* Handle on hover */ | ||
::-webkit-scrollbar-thumb:hover { | ||
background: #555; | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[22:36:14] [INFO]: Using locale en | ||
[22:36:14] [INFO]: InitializingAny bugs and/or false-positives should be reported either on the GitHub repo, plugin discussion page, or on the discord server | ||
[22:36:14] [INFO]: Registering checks | ||
[22:36:14] [INFO]: Finished registering checks | ||
[22:36:14] [INFO]: Started scanning for malicious plugins |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[21:37:08] [INFO]: Using locale en | ||
[21:37:08] [INFO]: InitializingAny bugs and/or false-positives should be reported either on the GitHub repo, plugin discussion page, or on the discord server | ||
[21:37:08] [INFO]: Registering checks | ||
[21:37:08] [INFO]: Finished registering checks | ||
[21:37:08] [INFO]: Setting up the Auto-Updater | ||
[21:37:08] [INFO]: Finished initializing | ||
[21:37:11] [DETECTED]: plugins\FlamePaper.jar MIGHT be infected with Spigot.MALWARE.ForceOP.A Class Path: org/bukkit/command/defaults/OpCommand ; SourceFile/Line OpCommand.java/36 | ||
[21:37:11] [DETECTED]: plugins\FlamePaper.jar MIGHT be infected with Spigot.MALWARE.ForceOP.D Class Path: net/minecraft/server/v1_8_R3/PlayerList ; SourceFile/Line PlayerList.java/1 |
Binary file not shown.
Binary file added
BIN
+23.2 MB
servers/MCAntiMalware/all/aJ3TDS2Cp5Mqh1Y2BHcxdpCGvPrKBjWO/FlamePaper.jar
Binary file not shown.
Binary file added
BIN
+23.2 MB
servers/MCAntiMalware/all/b8VbZje58mSV7mGQowvKLlx1nPfgUByh/FlamePaper.jar
Binary file not shown.
Binary file not shown.
Oops, something went wrong.