Compare commits

...
26 Commits
Author SHA1 Message Date
PYDT c0a382fefc Add files via upload 2023-03-15 00:17:30 +08:00
PYDT bf7ca3e9b1 Add files via upload 2023-03-14 23:27:26 +08:00
PYDT af1c23d72d Add files via upload 2023-03-14 21:33:08 +08:00
PYDT 1bdea5727b Add files via upload 2023-03-14 13:27:17 +08:00
PYDT 3dc573cce1 Add files via upload 2023-03-14 12:52:36 +08:00
PYDT 4d1b8ca9e8 Add files via upload 2023-03-14 12:07:19 +08:00
PYDT aec1cff72c Add files via upload 2023-03-14 12:06:46 +08:00
PYDT 520a0e71eb Add files via upload 2023-03-12 16:26:17 +08:00
PYDT 9485d36565 Add files via upload 2023-03-12 15:56:02 +08:00
PYDT 48ce8a1b0e Add files via upload 2023-03-10 10:50:35 +08:00
PYDT 8a4c469e16 Delete PYAS_Api.py 2023-03-09 12:40:22 +08:00
PYDT 3ae7ba20d1 Update README.md 2023-03-08 15:05:22 +08:00
PYDT 2b4adcf8bb Delete PYAS_UI.ui 2023-03-08 15:01:30 +08:00
PYDT d8a237f94f Add files via upload 2023-03-08 15:00:58 +08:00
PYDT 02e62465b7 Add files via upload 2023-03-08 14:18:28 +08:00
PYDT c0db543d49 Add files via upload 2023-03-08 14:14:26 +08:00
PYDT 5a1f620d88 Add files via upload 2023-03-08 14:00:58 +08:00
PYDT c418283845 Add files via upload 2023-03-07 21:36:35 +08:00
PYDT 44b00cc050 Add files via upload 2023-03-06 23:42:45 +08:00
PYDT 3d33e1a713 Add files via upload 2023-03-06 23:27:47 +08:00
PYDT ccd1040ba6 Add files via upload 2023-03-06 19:24:43 +08:00
PYDT 35f7d6d71e Add files via upload 2023-03-06 18:43:50 +08:00
PYDT be3da7d66c Add files via upload 2023-03-06 18:42:22 +08:00
PYDT ccb706aef1 Add files via upload 2023-03-06 15:06:33 +08:00
PYDT 20d1c4fb23 Add files via upload 2023-03-03 21:32:49 +08:00
PYDT 99a459ae4f Add files via upload 2023-03-03 21:25:03 +08:00
7 changed files with 403 additions and 6278 deletions

No files matched your search

+342 -558
View File
File diff suppressed because it is too large. Load diff
-16
View File
@@ -1,16 +0,0 @@
import requests
def scan(types,text):
response = requests.get("https://api.pyas.cf/pyas", params={types: text})
if response.status_code == 200:
if response.text == "True":
return True
else:
return False
else:
return response.status_code
print(scan("md5","<md5 hashes>"))
# https://api.pyas.cf/pyas?md5=<md5 hashes>
# return string True, False
+26 -41
View File
@@ -1,43 +1,31 @@
english_list = {
"提示":"Tips",
"已開啟":"On",
"已關閉":"Off",
"已开启":"On",
"已关闭":"Off",
"正在刪除: ":"Deleting: ",
"正在删除: ":"Deleting: ",
english_list = {"提示":"Tips",
"已開啟":"On", "已關閉":"Off",
"已开启":"On", "已关闭":"Off",
"On":"On", "Off":"Off",
"存取被拒":"Access denied",
"添加數據庫":"Add database",
"安全密鑰錯誤":"Security Key Error",
"安全密钥错误":"Security Key Error",
" > [提示] 尚未啟用實時防護":" > [Tips] Real-time Protect is not enabled",
" > [提示] 尚未启用实时防护":" > [Tips] Real-time Protect is not enabled",
" > [行為防護] 成功攔截了惡意檔案創建行為。":" > [Behavior Protection] Successfully blocked malicious file creation behavior.",
"請輸入需要尋找的檔案":"Please enter the file you want to find",
"请输入需要寻找的档案":"Please enter the file you want to find",
"✔成功: 已執行成功。":"✔Success: Executed successfully.",
"這部裝置已受到保護":"This device has been protected",
"✖錯誤: 執行失敗。":"✖Error: Execution failed.",
" > [病毒掃描] 掃描出":" > [Virus Scan] scan out ",
"個病毒":" Virus",
"這部裝置目前不安全":"This device is currently unsafe",
"✖當前已發現惡意軟體共{}項。":"✖A total of {} items of malware have been found so far.",
'✔當前未發現惡意軟體。':'✔ No malware currently found.',
'正在掃描: ':'Scanning: ',
'正在扫描: ':'Scanning: ',
"掃描失敗。":"Scan failed.",
"病毒掃描":"Virus scan",
"正在初始化中,請稍後...":"Initializing, please wait...",
"✖當前已發現惡意軟體。":"✖Malware has currently been detected.",
"✖掃描失敗。":"✖Scan failed.",
"正在刪除: ":"Deleting: ",
"請選擇掃描方式":"Please select a scan method",
"正在初始化中,請稍後...":"Initializing, please wait...",
'當前未發現惡意軟體。':'No malware currently found.',
"這部裝置已受到保護":"This device has been protected",
"這部裝置目前不安全":"This device is currently unsafe",
"當前已發現惡意軟體共{}項。":"A total of {} items of malware have been found so far.",
"錯誤":"Error", "錯誤: ":"Error: ",
"安全密鑰錯誤":"Security Key Error",
"尚未啟用實時防護":"Real-time Protect is not enabled",
"請輸入需要尋找的檔案":"Please enter the file you want to find",
"成功: 已執行成功。":"Success: Executed successfully.",
"錯誤: 執行失敗。":"Error: Execution failed.",
"完成":'Finish',
"您確定要修復系統權限嗎?":"Are you sure you want to fix system permissions?",
"修復完成!":"Repair complete!",
"完成":'Finish',
"您確定要修復系統檔案嗎?":"Are you sure you want to repair the system files?",
"修復系統檔案":'Repair System Files',
"錯誤":"Error",
"錯誤: ":"Error: ",
"[錯誤] ":"[Error] ",
"修復失敗":"Repair failed",
'清理系統檔案':'Clean up system files',
"您確定要清理系統檔案嗎?":"Are you sure you want to clean the system files?",
@@ -66,9 +54,9 @@ english_list = {
"分析文件位元":"Analyze File Bits",
'尋找結果:':'Find result:',
'正在尋找: ':'Searching: ',
'找到檔案:':'File found:',
'找到檔案: ':'File found: ',
'未找到檔案':'File Not Found',
'創建日期:':'Created Date:',
'創建日期: ':'Created Date: ',
"您確定要修改用戶密碼嗎?":"Are you sure you want to change the user password?",
"IP查詢":"IP query",
"您的ip地址為:{}":"Your ip address is: {}",
@@ -78,13 +66,10 @@ english_list = {
"關於":"About",
"結束進程":"End process",
"啟用該選項可以實時監控進程中的惡意軟體並清除。":"Enable this option to monitor and remove malware in the system in real time.",
"启用该选项可以实时监控进程中的恶意软件并清除。":"Enable this option to monitor and remove malware in the system in real time.",
"啟用該選項可以提高掃描靈敏度,但這也可能會造成誤殺。":"Enable this option can improve scanning sensitivity, but it can also cause manslaughter.",
"启用该选项可以提高扫描灵敏度,但这也可能会造成误杀。":"Enable this option can improve scanning sensitivity, but it can also cause manslaughter.",
'{} > [實時防護] 成功攔截了一個惡意軟體:':'{} > [Real-Time Protect] Malware blocking success:',
'{} > [實時防護] 成功攔截了一個惡意行為:':'{} > [Real-Time Protect] Action blocking success:',
'{} > [實時防護] 惡意軟體攔截失敗:':'{} > [Real-Time Protect] Malware blocking failed:',
'{} > [實時防護] 正在檢測檔案安全性:':'{} > [Real-time Protect] Checking file security:',
'{} > [實時防護] 未檢測到可疑檔案:':'{} > [Real-time Protect] No suspicious files detected:',
'修復系統權限':"Repair System Permissions",
'啟用該選項可以實時監控系統的檔案讀寫變更行為。':"Enable this option can improve scanning sensitivity, but it can also cause manslaughter."}
'成功攔截惡意軟體: ':'Malware blocking success: ',
'成功修復註冊表: ':'Repair registry success: ',
'成功修復引導扇區: PhysicalDrive0':'Repair boot sector success: PhysicalDrive0',
'正在掃描檔案安全性: ':'Scanning file security: ',
'惡意軟體攔截失敗: ':'Malware blocking failed: ',
'修復系統權限':"Repair System Permissions",}
+32 -74
View File
@@ -1,16 +1,5 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'C:\Users\Windows\Documents\Project\Python\PYDT開發團隊\PYAS防毒軟體\PYAS_程式碼\Library\PYAS\Qtui\PYAS_UI.ui'
#
# Created by: PyQt5 UI code generator 5.15.7
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
@@ -47,47 +36,47 @@ class Ui_MainWindow(object):
self.Setting_widget.setFont(font)
self.Setting_widget.setStyleSheet("background-color:rgb(255, 255, 255);")
self.Setting_widget.setObjectName("Setting_widget")
self.Show_Virus_Scan_Progress_Bar = QtWidgets.QWidget(self.Setting_widget)
self.Show_Virus_Scan_Progress_Bar.setGeometry(QtCore.QRect(20, 50, 791, 101))
self.Show_Virus_Scan_Progress_Bar.setAcceptDrops(False)
self.Show_Virus_Scan_Progress_Bar.setAutoFillBackground(False)
self.Show_Virus_Scan_Progress_Bar.setObjectName("Show_Virus_Scan_Progress_Bar")
self.Show_Virus_Scan_Progress_Bar_title = QtWidgets.QLabel(self.Show_Virus_Scan_Progress_Bar)
self.Show_Virus_Scan_Progress_Bar_title.setGeometry(QtCore.QRect(20, 10, 411, 41))
self.Show_high_sensitivity = QtWidgets.QWidget(self.Setting_widget)
self.Show_high_sensitivity.setGeometry(QtCore.QRect(20, 50, 791, 101))
self.Show_high_sensitivity.setAcceptDrops(False)
self.Show_high_sensitivity.setAutoFillBackground(False)
self.Show_high_sensitivity.setObjectName("Show_high_sensitivity")
self.high_sensitivity_title = QtWidgets.QLabel(self.Show_high_sensitivity)
self.high_sensitivity_title.setGeometry(QtCore.QRect(20, 10, 411, 41))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(18)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Show_Virus_Scan_Progress_Bar_title.setFont(font)
self.Show_Virus_Scan_Progress_Bar_title.setStyleSheet("color: rgb(70,70,70);")
self.Show_Virus_Scan_Progress_Bar_title.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.Show_Virus_Scan_Progress_Bar_title.setObjectName("Show_Virus_Scan_Progress_Bar_title")
self.Show_Virus_Scan_Progress_Bar_illustrate = QtWidgets.QLabel(self.Show_Virus_Scan_Progress_Bar)
self.Show_Virus_Scan_Progress_Bar_illustrate.setGeometry(QtCore.QRect(20, 50, 521, 51))
self.high_sensitivity_title.setFont(font)
self.high_sensitivity_title.setStyleSheet("color: rgb(70,70,70);")
self.high_sensitivity_title.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.high_sensitivity_title.setObjectName("high_sensitivity_title")
self.high_sensitivity_illustrate = QtWidgets.QLabel(self.Show_high_sensitivity)
self.high_sensitivity_illustrate.setGeometry(QtCore.QRect(20, 50, 521, 51))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(11)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Show_Virus_Scan_Progress_Bar_illustrate.setFont(font)
self.Show_Virus_Scan_Progress_Bar_illustrate.setStyleSheet("color: rgb(70,70,70);")
self.Show_Virus_Scan_Progress_Bar_illustrate.setScaledContents(False)
self.Show_Virus_Scan_Progress_Bar_illustrate.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.Show_Virus_Scan_Progress_Bar_illustrate.setWordWrap(True)
self.Show_Virus_Scan_Progress_Bar_illustrate.setObjectName("Show_Virus_Scan_Progress_Bar_illustrate")
self.Show_Virus_Scan_Progress_Bar_switch_Button = QtWidgets.QPushButton(self.Show_Virus_Scan_Progress_Bar)
self.Show_Virus_Scan_Progress_Bar_switch_Button.setGeometry(QtCore.QRect(660, 30, 91, 31))
self.high_sensitivity_illustrate.setFont(font)
self.high_sensitivity_illustrate.setStyleSheet("color: rgb(70,70,70);")
self.high_sensitivity_illustrate.setScaledContents(False)
self.high_sensitivity_illustrate.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.high_sensitivity_illustrate.setWordWrap(True)
self.high_sensitivity_illustrate.setObjectName("high_sensitivity_illustrate")
self.high_sensitivity_switch_Button = QtWidgets.QPushButton(self.Show_high_sensitivity)
self.high_sensitivity_switch_Button.setGeometry(QtCore.QRect(660, 30, 91, 31))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.Show_Virus_Scan_Progress_Bar_switch_Button.sizePolicy().hasHeightForWidth())
self.Show_Virus_Scan_Progress_Bar_switch_Button.setSizePolicy(sizePolicy)
sizePolicy.setHeightForWidth(self.high_sensitivity_switch_Button.sizePolicy().hasHeightForWidth())
self.high_sensitivity_switch_Button.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(11)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Show_Virus_Scan_Progress_Bar_switch_Button.setFont(font)
self.Show_Virus_Scan_Progress_Bar_switch_Button.setFocusPolicy(QtCore.Qt.StrongFocus)
self.Show_Virus_Scan_Progress_Bar_switch_Button.setStyleSheet("QPushButton\n"
self.high_sensitivity_switch_Button.setFont(font)
self.high_sensitivity_switch_Button.setFocusPolicy(QtCore.Qt.StrongFocus)
self.high_sensitivity_switch_Button.setStyleSheet("QPushButton\n"
"{\n"
" border:none;\n"
" background-color:rgba(20,20,20,30);\n"
@@ -97,9 +86,9 @@ class Ui_MainWindow(object):
"{\n"
" background-color:rgba(20,20,20,50);\n"
"}")
self.Show_Virus_Scan_Progress_Bar_switch_Button.setIconSize(QtCore.QSize(16, 16))
self.Show_Virus_Scan_Progress_Bar_switch_Button.setCheckable(False)
self.Show_Virus_Scan_Progress_Bar_switch_Button.setObjectName("Show_Virus_Scan_Progress_Bar_switch_Button")
self.high_sensitivity_switch_Button.setIconSize(QtCore.QSize(16, 16))
self.high_sensitivity_switch_Button.setCheckable(False)
self.high_sensitivity_switch_Button.setObjectName("high_sensitivity_switch_Button")
self.Setting_Back = QtWidgets.QPushButton(self.Setting_widget)
self.Setting_Back.setGeometry(QtCore.QRect(20, 10, 101, 41))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
@@ -2293,36 +2282,6 @@ class Ui_MainWindow(object):
self.System_Process_Manage_Button.setCheckable(False)
self.System_Process_Manage_Button.setObjectName("System_Process_Manage_Button")
self.System_verticalLayout.addWidget(self.System_Process_Manage_Button)
self.Repair_System_Permission_Button = QtWidgets.QPushButton(self.verticalLayoutWidget_4)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.Repair_System_Permission_Button.sizePolicy().hasHeightForWidth())
self.Repair_System_Permission_Button.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(12)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Repair_System_Permission_Button.setFont(font)
self.Repair_System_Permission_Button.setFocusPolicy(QtCore.Qt.StrongFocus)
self.Repair_System_Permission_Button.setStyleSheet("QPushButton\n"
"{\n"
" border:none;\n"
" background-color:rgba(20,20,20,30);\n"
" border-radius: 15px;\n"
"}\n"
"QPushButton:hover\n"
"{\n"
" background-color:rgba(20,20,20,50);\n"
"}\n"
"QPushButton:pressed\n"
"{\n"
" background-color:rgba(20,20,20,70);\n"
"}")
self.Repair_System_Permission_Button.setIconSize(QtCore.QSize(16, 16))
self.Repair_System_Permission_Button.setCheckable(False)
self.Repair_System_Permission_Button.setObjectName("Repair_System_Permission_Button")
self.System_verticalLayout.addWidget(self.Repair_System_Permission_Button)
self.Repair_System_Files_Button = QtWidgets.QPushButton(self.verticalLayoutWidget_4)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
@@ -2835,9 +2794,9 @@ class Ui_MainWindow(object):
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "PYAS"))
self.Show_Virus_Scan_Progress_Bar_title.setText(_translate("MainWindow", "高靈敏度模式"))
self.Show_Virus_Scan_Progress_Bar_illustrate.setText(_translate("MainWindow", "開啟此選項後可提高掃描時的靈敏度,但這也可能會導致誤殺。"))
self.Show_Virus_Scan_Progress_Bar_switch_Button.setText(_translate("MainWindow", "已關閉"))
self.high_sensitivity_title.setText(_translate("MainWindow", "高靈敏度模式"))
self.high_sensitivity_illustrate.setText(_translate("MainWindow", "開啟此選項後可提高掃描時的靈敏度,但這也可能會導致誤殺。"))
self.high_sensitivity_switch_Button.setText(_translate("MainWindow", "已關閉"))
self.Setting_Back.setText(_translate("MainWindow", "返回"))
self.Language_title.setText(_translate("MainWindow", "語言"))
self.Language_illustrate.setText(_translate("MainWindow", "請選擇語言"))
@@ -2920,7 +2879,6 @@ class Ui_MainWindow(object):
self.Process_Tools_Back.setText(_translate("MainWindow", "返回"))
self.Process_Total_title.setText(_translate("MainWindow", "進程總數:"))
self.System_Process_Manage_Button.setText(_translate("MainWindow", "系統進程管理"))
self.Repair_System_Permission_Button.setText(_translate("MainWindow", "修復系統權限"))
self.Repair_System_Files_Button.setText(_translate("MainWindow", "修復系統檔案"))
self.Clean_System_Files_Button.setText(_translate("MainWindow", "清理系統檔案"))
self.Enable_Safe_Mode_Button.setText(_translate("MainWindow", "啟動安全模式"))
-5585
View File
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -1,7 +1,7 @@
import pyinstaller_versionfile
pyinstaller_versionfile.create_versionfile(
output_file="versionfile.txt",
version='2.6.0',
version='2.6.2',
company_name="PYAS Security",
file_description="Python Antivirus Software",
internal_name="PYAS",
+2 -3
View File
@@ -8,8 +8,7 @@ https://pyantivirus.wixsite.com/pyas ,
https://github.com/87owo/PYAS
## Hashes Library
https://virusshare.com/hashes ,
https://github.com/87owo/ViruslistMD5/releases
https://virusshare.com/hashes
## MIT License
https://github.com/87owo/PYAS/blob/main/LICENSE.md
@@ -18,7 +17,7 @@ https://github.com/87owo/PYAS/blob/main/LICENSE.md
Windows 8.1, 10, 11 (64-bit), Ram 1GB, Rom 1GB or higher
## Import Module
os, sys, time, socket, random, psutil, subprocess, threading, configparser, win10toast, pefile, hashlib, PyQt5, pywin32, requests, platform, cryptocode, PYAS_English, PYAS_UI
os, sys, time, json, psutil, struct, win32api, win32con, requests, socket, platform, cryptocode, subprocess, pefile, hashlib, PYAS_English, win10toast, threading, random, PyQt5, PYAS_UI
## Special Thanks
Wix, VirusShare, mtkiao129, LenStevens