Comments (5)
请把代码格式化好,我看不明白
from ua2f.
还有,没必要每次回复都开个新issue,请在同一个issue中完成
from ua2f.
还有,没必要每次回复都开个新issue,请在同一个issue中完成
static char str1[74]={"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)"}; #添加一个电脑UA;
int i;#在int main()中添加一个计数变量i;
str = malloc(sizeof_buf);
for(i=0; i<sizeof_buf; i++){
memset(str+i, str1[i] ,1); #sizeof_buf长度的赋值为电脑ua
}
if (sizeof_buf > 74) {
for(i=75; i<sizeof_buf; i++)
memset(str+i, ' ' ,1); #超过电脑UA的全部赋值为空格
}
from ua2f.
还有,没必要每次回复都开个新issue,请在同一个issue中完成
总之就是把一个电脑ua一个字符一个字符的进行赋值,不够的补空格。
from ua2f.
你直接memcpy字符串不好吗,我觉得你的代码能力不太够,最好不要乱动
from ua2f.
Related Issues (20)
- 大佬,请问443端口真的没用办法吗,还是会检测到ua HOT 7
- ua2f在某些网页失效 HOT 2
- 大佬你好,微信电脑版发不了图片 HOT 4
- 几个问题希望可以得到开发者解惑 HOT 5
- 电脑连接WIFI之后,UA2F崩溃 HOT 20
- 最新版本按照启动教程非常难生效 HOT 5
- 编译过程中遇到错误 HOT 2
- 以太网接口下有点奇怪 HOT 4
- ”清除 TCP Header 中的 timestamp“这个轮子会造嘛? HOT 4
- UA2F正常running但UA未修改 HOT 18
- Couldn't load match `string':No such file or directory HOT 3
- 导致UU加速器无法加速NS等主机设备 HOT 2
- 编译完没软件 HOT 1
- 防火墙配置后导致qq,微信小程序无法正常使用 HOT 3
- https网页无法修改ua HOT 8
- 您好开发者,ua2f可以移植到armv7架构嘛 HOT 2
- 并非UA2F问题,但觉得可以进来讨论下 HOT 11
- lean源码编译出错 HOT 5
- 按照教程走,出现以下warning HOT 9
- UA检测时而是全FFFFF,时而是正常UA HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ua2f.