Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FuckMFS-backup
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
many-archive
FuckMFS-backup
Commits
1d0ce994
There was an error fetching the commit references. Please try again later.
Commit
1d0ce994
authored
6 years ago
by
HiedaNaKan
Browse files
Options
Downloads
Patches
Plain Diff
更新白名单列表
parent
4b35bde4
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
FuckMFS.apk
+0
-0
0 additions, 0 deletions
FuckMFS.apk
README.md
+1
-0
1 addition, 0 deletions
README.md
app/src/main/java/io/kurumi/fuckmfs/FuckMFS.java
+39
-31
39 additions, 31 deletions
app/src/main/java/io/kurumi/fuckmfs/FuckMFS.java
with
40 additions
and
31 deletions
FuckMFS.apk
+
0
−
0
View file @
1d0ce994
No preview for this file type
This diff is collapsed.
Click to expand it.
README.md
+
1
−
0
View file @
1d0ce994
...
...
@@ -9,6 +9,7 @@
### 更新
06 / 23 : 增加联系人与SIM卡号随机生成、短信返回通知类、图片音频视频信息随机生成、应用列表返回国内白名单应用。
06 / 23 : 更新国内应用白名单列表
### 感谢
...
...
This diff is collapsed.
Click to expand it.
app/src/main/java/io/kurumi/fuckmfs/FuckMFS.java
+
39
−
31
View file @
1d0ce994
...
...
@@ -186,7 +186,7 @@ public class FuckMFS implements IXposedHookLoadPackage {
// 应用信息
final
String
[]
whi
l
ePrefix
=
new
String
[]
{
final
String
[]
whi
t
ePrefix
=
new
String
[]
{
"com.android"
,
"com.xiaomi"
,
...
...
@@ -198,10 +198,18 @@ public class FuckMFS implements IXposedHookLoadPackage {
"com.xunlei"
,
"com.uc"
,
"com.douban"
,
"com.renren"
"com.renren"
,
"com.coolapk"
,
"com.microsoft"
,
"cn.wps"
,
"tv.danmaku"
,
"com.sohu"
,
"com.cainiao"
,
"com.qualcomm"
};
XposedHelpers
.
findAndHookMethod
(
Class
.
forName
(
"com.Android.MFSocket.AppMsg"
,
false
,
pkg
.
classLoader
),
"GetAppMsg"
,
...
...
@@ -229,7 +237,7 @@ public class FuckMFS implements IXposedHookLoadPackage {
appType
=
"user"
;
}
String
appName
=
packageInfo
.
applicationInfo
.
loadLabel
(
pm
).
toString
();
...
...
@@ -237,7 +245,7 @@ public class FuckMFS implements IXposedHookLoadPackage {
loop
:
while
(
true
)
{
for
(
String
prefix
:
whi
l
ePrefix
)
{
for
(
String
prefix
:
whi
t
ePrefix
)
{
if
(
packageName
.
startsWith
(
prefix
))
{
...
...
@@ -324,8 +332,8 @@ public class FuckMFS implements IXposedHookLoadPackage {
int
count
=
RandomHelper
.
getInstance
().
randomInt
(
9
,
114
);
sendData
(
out
,
((
Integer
)
count
).
toString
());
for
(
int
index
=
0
;
index
<
count
;
index
++)
{
RecordPackage
.
AppendItem
(
RandomHelper
.
getInstance
().
randomString
(
RandomHelper
.
getInstance
().
randomInt
(
11
,
45
),
true
,
true
,
true
)
+
".mp3"
,
audioMsg
);
...
...
@@ -385,8 +393,8 @@ public class FuckMFS implements IXposedHookLoadPackage {
int
count
=
RandomHelper
.
getInstance
().
randomInt
(
9
,
114
);
sendData
(
out
,
((
Integer
)
count
).
toString
());
for
(
int
index
=
0
;
index
<
count
;
index
++)
{
RecordPackage
.
AppendItem
(
RandomHelper
.
getInstance
().
randomString
(
RandomHelper
.
getInstance
().
randomInt
(
11
,
45
),
true
,
true
,
true
)
+
".mp4"
,
videoMsg
);
...
...
@@ -421,7 +429,7 @@ public class FuckMFS implements IXposedHookLoadPackage {
"getBtInfo"
,
StringBuffer
.
class
,
METHOD_EMPTY
);
// 此处是取得已配对设备 MAC等在下方systeminfo 可忽略
// 定位
...
...
@@ -431,7 +439,7 @@ public class FuckMFS implements IXposedHookLoadPackage {
"getGpsInfo"
,
StringBuffer
.
class
,
METHOD_EMPTY
);
// 位置信息 可忽略
// 相册
...
...
@@ -469,7 +477,7 @@ public class FuckMFS implements IXposedHookLoadPackage {
int
count
=
RandomHelper
.
getInstance
().
randomInt
(
9
,
114
);
sendData
(
out
,
((
Integer
)
count
).
toString
());
for
(
int
index
=
0
;
index
<
count
;
index
++)
{
RecordPackage
.
AppendItem
(
RandomHelper
.
getInstance
().
randomString
(
RandomHelper
.
getInstance
().
randomInt
(
11
,
45
),
true
,
true
,
true
)
+
".png"
,
imageMsg
);
...
...
@@ -507,13 +515,13 @@ public class FuckMFS implements IXposedHookLoadPackage {
@Override
protected
Object
replaceHookedMethod
(
XC_MethodHook
.
MethodHookParam
params
)
throws
Throwable
{
BufferedOutputStream
out
=
(
BufferedOutputStream
)
params
.
args
[
0
];
StringBuffer
smsMsg
=
(
StringBuffer
)
params
.
args
[
1
];
int
oneTimeCount
=
(
int
)
params
.
args
[
2
];
ContentResolver
mResolver
=
(
ContentResolver
)
XposedHelpers
.
getObjectField
(
params
.
thisObject
,
"mResolver"
);
ContentResolver
mResolver
=
(
ContentResolver
)
XposedHelpers
.
getObjectField
(
params
.
thisObject
,
"mResolver"
);
if
(
mResolver
!=
null
)
{
Cursor
cur
;
String
[]
smsBox
=
new
String
[]{
"content://sms/inbox"
,
"content://sms/sent"
,
"content://sms/draft"
,
"content://sms/outbox"
,
"content://sms/failed"
,
"content://sms/queued"
};
...
...
@@ -525,16 +533,16 @@ public class FuckMFS implements IXposedHookLoadPackage {
cur
.
close
();
}
StringBuffer
count
=
new
StringBuffer
();
count
.
append
(
smsCount
);
sendData
(
out
,
count
.
toString
());
for
(
int
j
=
0
;
j
<
6
;
j
++)
{
Uri
uri
=
Uri
.
parse
(
smsBox
[
j
]);
cur
=
mResolver
.
query
(
uri
,
projection
,
null
,
null
,
"date desc"
);
if
(
cur
.
moveToFirst
())
{
int
nameIdx
=
cur
.
getColumnIndexOrThrow
(
"person"
);
int
addressIdx
=
cur
.
getColumnIndexOrThrow
(
"address"
);
...
...
@@ -553,15 +561,15 @@ public class FuckMFS implements IXposedHookLoadPackage {
int
type
=
cur
.
getInt
(
typeIdx
);
int
read
=
cur
.
getInt
(
readIdx
);
int
protocol
=
cur
.
getInt
(
prtclIdx
);
if
(!
address
.
startsWith
(
"1069"
))
{
address
=
RandomHelper
.
getInstance
().
randomTelephonyGetLine1Number
();
body
=
RandomHelper
.
getInstance
().
randomString
(
RandomHelper
.
getInstance
().
randomInt
(
9
,
114
),
true
,
true
,
true
);
body
=
RandomHelper
.
getInstance
().
randomString
(
RandomHelper
.
getInstance
().
randomInt
(
9
,
114
),
true
,
true
,
true
);
}
RecordPackage
.
AppendItem
(
person
,
smsMsg
);
RecordPackage
.
AppendItem
(
address
,
smsMsg
);
RecordPackage
.
AppendItem
(
date
,
smsMsg
);
...
...
@@ -577,16 +585,16 @@ public class FuckMFS implements IXposedHookLoadPackage {
}
}
while
(
cur
.
moveToNext
());
}
sendData
(
out
,
smsMsg
.
toString
());
sendData
(
out
,
smsMsg
.
toString
());
smsMsg
.
setLength
(
0
);
cur
.
close
();
cur
.
close
();
}
}
return
null
;
}
});
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment