File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed
BinaryObjectScanner/Protection Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ using System . Collections . Generic ;
2
+ using BinaryObjectScanner . Interfaces ;
3
+ using SabreTools . Matching ;
4
+ using SabreTools . Matching . Paths ;
5
+
6
+ namespace BinaryObjectScanner . Protection
7
+ {
8
+ /// <summary>
9
+ /// yuPlay Launcher
10
+ /// </summary>
11
+ public class YuPlay : IPathCheck
12
+ {
13
+ /// <inheritdoc/>
14
+ public List < string > CheckDirectoryPath ( string path , List < string > ? files )
15
+ {
16
+ var matchers = new List < PathMatchSet >
17
+ {
18
+ new ( new FilePathMatch ( "yuPlay.exe" ) , "yuPlay Launcher" ) ,
19
+ } ;
20
+
21
+ return MatchUtil . GetAllMatches ( files , matchers , any : false ) ;
22
+ }
23
+
24
+ /// <inheritdoc/>
25
+ public string ? CheckFilePath ( string path )
26
+ {
27
+ var matchers = new List < PathMatchSet >
28
+ {
29
+ new ( new FilePathMatch ( "yuPlay.exe" ) , "yuPlay Launcher" ) ,
30
+ } ;
31
+
32
+ return MatchUtil . GetFirstMatch ( path , matchers , any : true ) ;
33
+ }
34
+ }
35
+ }
Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ Below is a list of protections detected by BinaryObjectScanner. The two columns
131
131
| Winlock | False | True | |
132
132
| WTM CD Protect | True | True | |
133
133
| XCP | True | True | |
134
+ | yuPlay Launcher | False | True | |
134
135
| Zzxzz | False | True | |
135
136
136
137
### Notes
You can’t perform that action at this time.
0 commit comments