| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- import randomstring from "randomstring"
- import fs from "fs"
- import path from "path"
- const subnets = [
- "192.168.10",
- "192.168.11",
- "192.168.12",
- "192.168.13",
- "192.168.14"
- ]
- subnets.forEach(subnet => {
- fs.writeFileSync(
- `${subnet}/US-IPWEB.json`,
- JSON.stringify(
- Array(300)
- .fill(0)
- .map((_, i) => {
- return [
- i,
- "gate1.ipweb.cc:7778",
- `B_37678_US___10_${randomstring.generate({
- length: 8,
- charset: "alphanumeric"
- })}`,
- "123456"
- ]
- }),
- null,
- 4
- )
- )
- fs.writeFileSync(
- `${subnet}/US-IPMOYU.json`,
- JSON.stringify(
- Array(300)
- .fill(0)
- .map((_, i) => {
- return [
- i,
- "global.ipmoyu.com:3000",
- `buyerevent_120_0_0_10_${randomstring.generate({
- length: 8,
- charset: "alphanumeric"
- })}_15_1`,
- "123456"
- ]
- }),
- null,
- 4
- )
- )
- })
|