diff --git a/PYAS.py b/PYAS.py index 666055c..55d708a 100644 --- a/PYAS.py +++ b/PYAS.py @@ -106,13 +106,13 @@ class MainWindow_Controller(QMainWindow): self.theme_names = [ "white_switch", "red_switch", "yellow_switch", - "green_switch", "blue_switch", "black_switch" + "green_switch", "blue_switch", "black_switch", ] self.lang_names = [ - "traditional_switch", "simplified_switch", "english_switch" + "traditional_switch", "simplified_switch", "english_switch", ] self.pyas_default = { - "version": "3.3.1", + "version": "3.3.2", "product": "00000-00000-00000-00000-00000", "language": "english_switch", "theme": "white_switch", @@ -131,9 +131,14 @@ class MainWindow_Controller(QMainWindow): {"exe": "explorer.exe", "class": "", "title": ""}, ] self.block_replace = { - "MBR_BLOCK": "引導行為攔截", + "BOOT_BLOCK": "引導行為攔截", "REG_BLOCK": "註冊表行為攔截", - "FILE_BLOCK": "檔案行為攔截" + "FILE_BLOCK": "檔案行為攔截", + "RANSOM_BLOCK": "勒索行為攔截", + "CLR_BLOCK": "托管行為攔截", + "SHELLCODE_BLOCK": "殼碼行為攔截", + "THREAD_BLOCK": "線程行為攔截", + "INJECT_BLOCK": "注入行為攔截", } #################################################################################################### @@ -536,6 +541,8 @@ class MainWindow_Controller(QMainWindow): def show_button(self): self.show() + self.activateWindow() + self.repaint() self.change_opacity(self, self.current_opacity, 100, 200) def minimize_button(self): diff --git a/PYAS_Config.py b/PYAS_Config.py index a8da515..cdaf0ad 100644 --- a/PYAS_Config.py +++ b/PYAS_Config.py @@ -1,10 +1,11 @@ translate_dict = { "traditional_switch": {"开启":"開啟","关闭":"關閉","On":"開啟","Off":"關閉"}, + "simplified_switch": {"開啟":"开启","關閉":"关闭","On":"开启","Off":"关闭", "錯誤":"错误","發現":"发现","關閉":"关闭","裝置":"设备","記憶體":"内存", "軟體":"软件","檔案":"文件","確定":"确认","設定":"设置","關於":"关于", "總數":"总数","註冊":"注册","圖標":"图标","路徑":"路径","網路":"网络", - "位元":"字节","靈敏":"敏感","複製":"复制","開啟":"开启", "離":"离", + "位元":"字节","靈敏":"敏感","複製":"复制","開啟":"开启","靜態":"静态", "訊":"讯","項":"项","掃":"扫","試":"试","黃":"黄","嗎":"吗","防":"保", "鑰":"钥","當":"当","後":"后","護":"护","導":"导","區":"区","復":"复", "攔":"拦","請":"请","統":"统","刪":"删","進":"进","個":"个","選":"选", @@ -18,7 +19,9 @@ translate_dict = { "惡":"恶","據":"据","庫":"库","經":"经","敗":"败","謝":"谢","別":"别", "載":"载","誤":"误","報":"报","鏈":"链","竄":"窜","蹤":"踪","與":"与", "異":"异","實":"实","時":"时","彈":"弹","窗":"窗","暫":"暂","訂":"订", - "資":"资","產":"产","金":"密",}, + "資":"资","產":"产","金":"密","離":"离","規":"规","則":"则","來":"来", + "殼":"壳","碼":"码","線":"线",}, + "english_switch": {"開啟":"On","關閉":"Off","开启":"On","关闭":"Off",",":", ", "立即刪除":"Delete Now","安全模式":"Safe Mode","官方網站":"Official Website ", "腳本":"Script ","鏈式":"Chain ","記憶體":"Memory ","加載":"Load ", @@ -55,20 +58,22 @@ translate_dict = { "已存在":"Already ","數據庫":"Database ","誤報":"False Positive ", "高":"High ","新":"New ","和":"And ","可能會":"Possible ","會":"Can ", "日誌":"Log","已":"Has ","彈窗":"Window ","要":"To ","驅動":"Driver ", - "的":"","顯示":"","個":"","嗎":"","了":"","行":"","立即":"", + "的":"","顯示":"","個":"","嗎":"","了":"","行":"","立即":"","規則":"Rule ", "密鑰":"Key ","檢測":"Detect ","製作":"Maker ","運行":"Running", "擴展":"Extension ","套件":"Kit ","自動":"Auto ","上報":"Report ", "分析":"Analysis ","自身":"Self ","其他":"Other ","配置":"Config ", - "丟失":"Lost ","網站":"Website ","不兼容":"Not Compatible ", + "丟失":"Lost ","網站":"Website ","不兼容":"Not Compatible ","列表":"List ", "竄改":"Tamper ","第三方":"Other ","實時":"Real Time ","查看":"View ", - "指定":"Specify ","清空":"Empty ","資源回收桶":"Recycle Bin ", - "與":"With ","當":"When ","功能":"Function ","異常":"Abnormal ", + "指定":"Specify ","清空":"Empty ","資源回收桶":"Recycle Bin ", "無法":"Cannot ", + "與":"With ","當":"When ","功能":"Function ","異常":"Abnormal ", "來":"To ", "重置":"Reset ","窗口":"Window ","暫存":"Temp ","自訂":"Custom ", "不支持":"Not Support ","共":"Total ","秒":"Seconds ","耗時":"Takes ", "沙箱":"Sandbox ", "虛擬":"Virtual ", "隔離":"Quarantine ", "時":"", "建立":"Create ","環境":"Environment ","沙箱":"Sandbox ","化":"", "表":"", "達":"Reached ", "上限":"Limit ", "區":"", "金鑰":"Key ", "產品":"Product ", - "前往":"Go ","檢查":"Check ","可用":"Available "," ":" "}, + "托管":"CLR ","殼碼":"Shellcode ","線程":"Thread ","注入":"Inject ", + "前往":"Go ","檢查":"Check ","可用":"Available ","靜態":"Static ", " ":" "}, + "white_switch": { "_white": "_black",}, "red_switch": { diff --git a/PYAS_Version.py b/PYAS_Version.py index 4235608..b7f6a52 100644 --- a/PYAS_Version.py +++ b/PYAS_Version.py @@ -2,7 +2,7 @@ import pyinstaller_versionfile pyinstaller_versionfile.create_versionfile( output_file="versionfile.txt", -version='3.3.1', +version='3.3.2', company_name="PYAS Security", file_description="Python Antivirus Software", internal_name="PYAS",