Compare commits

...
12 Commits
Author SHA1 Message Date
87owo 8501aa319d Add files via upload 2022-09-07 18:24:47 +08:00
87owo 89d59c1b75 Update README.md 2022-09-07 07:19:16 +08:00
87owo cb40e6bc89 Update README.md 2022-09-06 16:42:47 +08:00
87owo c5471ebca7 Update README.md 2022-09-06 16:41:19 +08:00
87owo 456885000e Update README.md 2022-09-06 16:34:03 +08:00
87owo 03a9b6336b Update README.md 2022-09-06 16:31:01 +08:00
87owo c01a93635f Update README.md 2022-09-06 16:28:41 +08:00
87owo 5b9fe1ac1c Update README.md 2022-09-06 16:27:09 +08:00
87owo cb205164a8 Update README.md 2022-09-06 16:22:40 +08:00
87owo 0ac5eb8840 Update README.md 2022-09-06 16:21:35 +08:00
87owo 0ed0b38ea9 Update README.md 2022-09-06 16:18:50 +08:00
87owo e6c2d4521f Update README.md 2022-09-06 16:14:50 +08:00
3 changed files with 86 additions and 32 deletions

No files matched your search

+57 -29
View File
@@ -230,7 +230,7 @@ class MainWindow_Controller(QtWidgets.QMainWindow):
self.show_virus_scan_progress_bar = 0
except:
self.show_virus_scan_progress_bar = 0
self.ui.License_terms.setText('''PYAS Antivirus Software Security License Terms V2.0
self.ui.License_terms.setText('''PYAS Python Antivirus Software Security License Terms V2.0
=====================================================
#Use of PYAS antivirus software and services means that you accept these terms, if you do not accept, please do not use PYAS services.
=====================================================
@@ -293,9 +293,9 @@ If you do not download from the official website, we cannot guarantee the securi
_translate = QtCore.QCoreApplication.translate
if pyas_key():
self.ui.State_output.clear()
self.ui.Window_title.setText(_translate("MainWindow", "PYAS V2.3.8"))
self.ui.Window_title.setText(_translate("MainWindow", "PYAS V2.3.9"))
else:
self.ui.Window_title.setText(_translate("MainWindow", "PYAS V2.3.8 (Security Key Error)"))
self.ui.Window_title.setText(_translate("MainWindow", "PYAS V2.3.9 (Security Key Error)"))
now_time = datetime.datetime.now()
self.ui.State_output.clear()
self.ui.State_output.append(str(now_time.strftime('%Y/%m/%d %H:%M:%S')) + ' > [Warning] PYAS Security Key Error')
@@ -368,7 +368,7 @@ If you do not download from the official website, we cannot guarantee the securi
self.ui.Encryption_Text_title.setText(_translate("MainWindow", "Before Encrypt & Decrypt"))
self.ui.Decrypt_Text_Run_Button.setText(_translate("MainWindow", "Encrypt"))
self.ui.About_Back.setText(_translate("MainWindow", "Back"))
self.ui.PYAS_Version.setText(_translate("MainWindow", "PYAS V2.3.8"))
self.ui.PYAS_Version.setText(_translate("MainWindow", "PYAS V2.3.9"))
self.ui.GUI_Made_title.setText(_translate("MainWindow", "GUI Make:"))
self.ui.GUI_Made_Name.setText(_translate("MainWindow", "mtkiao129#3921"))
self.ui.Core_Made_title.setText(_translate("MainWindow", "Core Make:"))
@@ -418,9 +418,9 @@ If you do not download from the official website, we cannot guarantee the securi
_translate = QtCore.QCoreApplication.translate
if pyas_key():
self.ui.State_output.clear()
self.ui.Window_title.setText(_translate("MainWindow", "PYAS V2.3.8"))
self.ui.Window_title.setText(_translate("MainWindow", "PYAS V2.3.9"))
else:
self.ui.Window_title.setText(_translate("MainWindow", "PYAS V2.3.8 (安全密钥错误)"))
self.ui.Window_title.setText(_translate("MainWindow", "PYAS V2.3.9 (安全密钥错误)"))
now_time = datetime.datetime.now()
self.ui.State_output.clear()
self.ui.State_output.append(str(now_time.strftime('%Y/%m/%d %H:%M:%S')) + ' > [警告] PYAS 安全密钥错误')
@@ -493,7 +493,7 @@ If you do not download from the official website, we cannot guarantee the securi
self.ui.Encryption_Text_title.setText(_translate("MainWindow", "加密&解密前"))
self.ui.Decrypt_Text_Run_Button.setText(_translate("MainWindow", "解密"))
self.ui.About_Back.setText(_translate("MainWindow", "返回"))
self.ui.PYAS_Version.setText(_translate("MainWindow", "PYAS V2.3.8"))
self.ui.PYAS_Version.setText(_translate("MainWindow", "PYAS V2.3.9"))
self.ui.GUI_Made_title.setText(_translate("MainWindow", "介面制作:"))
self.ui.GUI_Made_Name.setText(_translate("MainWindow", "mtkiao129#3921"))
self.ui.Core_Made_title.setText(_translate("MainWindow", "核心制作:"))
@@ -544,9 +544,9 @@ If you do not download from the official website, we cannot guarantee the securi
_translate = QtCore.QCoreApplication.translate
if pyas_key():
self.ui.State_output.clear()
self.ui.Window_title.setText(_translate("MainWindow", "PYAS V2.3.8"))
self.ui.Window_title.setText(_translate("MainWindow", "PYAS V2.3.9"))
else:
self.ui.Window_title.setText(_translate("MainWindow", "PYAS V2.3.8 (安全密鑰錯誤)"))
self.ui.Window_title.setText(_translate("MainWindow", "PYAS V2.3.9 (安全密鑰錯誤)"))
now_time = datetime.datetime.now()
self.ui.State_output.clear()
self.ui.State_output.append(str(now_time.strftime('%Y/%m/%d %H:%M:%S')) + ' > [警告] PYAS 安全密鑰錯誤')
@@ -619,7 +619,7 @@ If you do not download from the official website, we cannot guarantee the securi
self.ui.Encryption_Text_title.setText(_translate("MainWindow", "加密&解密前"))
self.ui.Decrypt_Text_Run_Button.setText(_translate("MainWindow", "解密"))
self.ui.About_Back.setText(_translate("MainWindow", "返回"))
self.ui.PYAS_Version.setText(_translate("MainWindow", "PYAS V2.3.8"))
self.ui.PYAS_Version.setText(_translate("MainWindow", "PYAS V2.3.9"))
self.ui.GUI_Made_title.setText(_translate("MainWindow", "介面製作:"))
self.ui.GUI_Made_Name.setText(_translate("MainWindow", "mtkiao129#3921"))
self.ui.Core_Made_title.setText(_translate("MainWindow", "核心製作:"))
@@ -1542,6 +1542,15 @@ If you do not download from the official website, we cannot guarantee the securi
webbrowser.open("https://www.youtube.com/watch?v=dQw4w9WgXcQ")
self.ui.Customize_CMD_Command_output.setText(english_list["never gonna give you up"])
return
if CMD_Command == "python antivirus software" or CMD_Command == "Python Antivirus Software" \
or CMD_Command == "PYAS" or CMD_Command == "pyas":
self.ui.Customize_CMD_Command_output.setText(english_list["PYAS"])
return
#if CMD_Command == "OLD" or CMD_Command == "old" \
#or CMD_Command == "TK" or CMD_Command == "tk" \
#or CMD_Command == "TKINTER" or CMD_Command == "tkinter":
#import PYAS_Old
#return
if CMD_Command != '':
try:
si = subprocess.STARTUPINFO()
@@ -1695,26 +1704,27 @@ If you do not download from the official website, we cannot guarantee the securi
try:
QApplication.processEvents()
fullpath = os.path.join(path,fd)
if os.path.isdir(fullpath):
self.findfile_zh(fullpath,ffile,fss,start)
else:
fss = fss + 1
if ffile in str(fd):
try:
date = time.ctime(os.path.getmtime(fullpath))
if 'C:/Windows' not in fullpath:
if os.path.isdir(fullpath):
self.findfile_zh(fullpath,ffile,fss,start)
else:
fss = fss + 1
if ffile in str(fd):
try:
ft = open('Library/PYAS/Temp/PYASF.tmp','a',encoding="utf-8")
#print(str(self.text_Translate('找到檔案:')+str(fullpath)+'\n'+self.text_Translate('創建日期:')+str(date)+'\n'+'\n'))
ft.write(str(self.text_Translate('找到檔案:')+str(fullpath)+'\n'+self.text_Translate('創建日期:')+str(date)+'\n'+'\n'))
ft.close()
date = time.ctime(os.path.getmtime(fullpath))
try:
ft = open('Library/PYAS/Temp/PYASF.tmp','a',encoding="utf-8")
#print(str(self.text_Translate('找到檔案:')+str(fullpath)+'\n'+self.text_Translate('創建日期:')+str(date)+'\n'+'\n'))
ft.write(str(self.text_Translate('找到檔案:')+str(fullpath)+'\n'+self.text_Translate('創建日期:')+str(date)+'\n'+'\n'))
ft.close()
except:
ft = open('C:/Program Files (x86)/PYAS/Library/PYAS/Temp/PYASF.tmp','a',encoding="utf-8")
#print(str(self.text_Translate('找到檔案:')+str(fullpath)+'\n'+self.text_Translate('創建日期:')+str(date)+'\n'+'\n'))
ft.write(str(self.text_Translate('找到檔案:')+str(fullpath)+'\n'+self.text_Translate('創建日期:')+str(date)+'\n'+'\n'))
ft.close()
continue
except:
ft = open('C:/Program Files (x86)/PYAS/Library/PYAS/Temp/PYASF.tmp','a',encoding="utf-8")
#print(str(self.text_Translate('找到檔案:')+str(fullpath)+'\n'+self.text_Translate('創建日期:')+str(date)+'\n'+'\n'))
ft.write(str(self.text_Translate('找到檔案:')+str(fullpath)+'\n'+self.text_Translate('創建日期:')+str(date)+'\n'+'\n'))
ft.close()
continue
except:
pass
pass
except:
continue
except Exception as e:
@@ -1864,6 +1874,12 @@ If you do not download from the official website, we cannot guarantee the securi
QMessageBox.critical(self,"Error",str(e),QMessageBox.Ok)
def pyas_protect_init_zh(self):
try:
ft = open('Library/PYAS/Temp/PYASP.tmp','w',encoding='utf-8')
fe = ft.write('')
ft.close()
except:
pass
try:
with open('Library/PYAE/Hashes/Viruslist.md5','r') as fp:
rfp = fp.read()
@@ -1904,12 +1920,20 @@ If you do not download from the official website, we cannot guarantee the securi
QApplication.processEvents()
while 1:
if not self.pause:
try:
ft = open('Library/PYAS/Temp/PYASP.tmp','r',encoding='utf-8')
fe = ft.read()
ft.close()
except:
sys.exit()
self.Virus_Scan = 1
for p in psutil.process_iter():
try:
if 'C:\Windows' in str(p.exe()):
pass
elif 'C:\Program Files' in str(p.exe()):
elif 'C:\Program' in str(p.exe()):
pass
elif 'AppData' in str(p.exe()):
pass
else:
if self.pyas_scan_start(p.exe(),rfp):
@@ -2257,6 +2281,10 @@ If you do not download from the official website, we cannot guarantee the securi
pat2.drawRoundedRect(rect, 1, 1)
if __name__ == '__main__':
try:
os.remove('Library/PYAS/Temp/PYASP.tmp')
except:
pass
import sys
app = QtWidgets.QApplication(sys.argv)
window = MainWindow_Controller()
+14
View File
@@ -75,6 +75,20 @@ english_list = {
'{} > [實時防護] 惡意軟體攔截失敗:':'{} > [Real-Time Protect] Malware blocking failed:',
'修復系統權限':"Repair System Permissions",
'啟用該選項可以實時監控系統的檔案讀寫變更行為。':"Enable this option can improve scanning sensitivity, but it can also cause manslaughter.",
'PYAS':"""PYAS Python Antivirus Software Security
========================================
PYAS Create Date: 2020/12/17
Official Email: xiaomi69ai@gmail.com
Official Github: https://github.com/87owo/PYAS
Official Website: https://pyantivirus.wixsite.com/pyas
PYAS Core Developer: PYAS_Dev#0629
PYAS GUI Developer: Mtkiao129#3921
PYAS Testers: PYAS_Dev#0629, Mtkiao129#3921
Special Thanks: Wix, Avast, Github, Google, Python,
Microsoft, VirusTotal, VirusShare, LenStevens
========================================
Thanks For Using PYAS Python Antivirus Software
""",
"never gonna give you up":"""We are no strangers to love
You know the rules and so do I
A full commitment′s what I am thinking of
+15 -3
View File
@@ -1,8 +1,20 @@
Python Antivirus Software
# PYAS (Python Antivirus Software)
PYAS contains a large number of databases, with an average of 200,000 new data sets added every month,PYAS can also detect unknown computer viruses in advance through functional scanning.
Official website:
## Official Website
https://pyantivirus.wixsite.com/pyas ,
https://github.com/87owo/PYAS
Special thanks to:
## Hashes Library
https://github.com/87owo/ViruslistMD5/releases
## Support System
Windows 8.1, 10, 11 (64-bit) or higher
## Import Module
os, time, sys, psutil, socket, subprocess, platform, cryptocode, threading, pygame, datetime, configparser, webbrowser, PYAS_English, pefile, hashlib, PyQt5, PYAS_UI, win32api,win32con
## Special Thanks
Wix, Avast, Github, Google, Python, Microsoft, VirusTotal, VirusShare, LenStevens
Copyright© 2020~2022 PYAS Security