Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
L
lcc-akm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangmingming
lcc-akm
Commits
65167d23
Commit
65167d23
authored
Mar 21, 2023
by
王明明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vy 0321
parent
b9c7d35c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
run.js
src/js/run.js
+3
-3
test.go
src/test/test.go
+2
-2
No files found.
src/js/run.js
View file @
65167d23
...
...
@@ -687,8 +687,8 @@ function run(times, url, s3, bm_sz, returnData){
vcact
=
vcact
+
e
;
vc_cnt
++
;
}
if
(
times
>
2
){
if
(
Math
.
random
()
>
0.
4
)
{
if
(
times
>
1
){
if
(
Math
.
random
()
>
0.
1
)
{
for
(
let
i
=
0
;
i
<
parseInt
(
Math
.
random
()
*
10
+
Math
.
random
()
*
10
);
i
++
)
{
var
s
=
'qwertyuiopasdfghjklzxcvbnm1234567890;[],./
\
\'
keyEvent(s[parseInt(Math.random() *s.length)])
...
...
@@ -711,7 +711,7 @@ function run(times, url, s3, bm_sz, returnData){
}
if (Math.random() > 0.1){
for (let i = 0; i < parseInt(Math.random() *5) + 1; i++) {
for (let i = 0; i < parseInt(
Math.random() *5 +
Math.random() *5) + 1; i++) {
touchEvent()
}
}
...
...
src/test/test.go
View file @
65167d23
...
...
@@ -85,8 +85,8 @@ func actVY() {
t1
:=
time
.
Now
()
//resp, err := http.Post("http://lcc.unififi.com/akamai/gen",
resp
,
err
:=
http
.
Post
(
"http://127.0.0.1:59001/akamai/gen"
,
"application/json"
,
strings
.
NewReader
(
"{
\"
type
\"
:
\"
VY
\"
,
\"
proxy
\"
:
\"
"
+
px
+
"
\"
}"
))
//
"application/json", strings.NewReader("{\"type\": \"VY\", \"proxy\": \"http://127.0.0.1:8890\"}"))
//
"application/json", strings.NewReader("{\"type\": \"VY\", \"proxy\": \""+px+"\"}"))
"application/json"
,
strings
.
NewReader
(
"{
\"
type
\"
:
\"
VY
\"
,
\"
proxy
\"
:
\"
http://127.0.0.1:8890
\"
}"
))
//resp, err := http.Post("http://127.0.0.1:59001/akamai/gen", "application/json", strings.NewReader("{\"type\": \"u2\", \"proxy\": \"http://user-unifflcc-region-us:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600\"}"))
if
err
!=
nil
{
//panic(err)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment