当前位置:网站首页>写代码的小技巧
写代码的小技巧
2022-06-09 19:27:00 【zhangsan3333】
写代码的小技巧
希望不要用到
这个人没脑子子,建立什么通道删库,因为建立的通道可以溯源,工程学上面可以检查证据的。
最好的方法就是写进程注入钩子,让主进程随时来一个宕机。又好玩又刺激又没有任何证据。
高级方法:
补充:方法多.
- 1.把高效算法变成低效,比如记数排序算法写出冒泡排序等地效率算法代替。(测试可以通过,高并发生产环境通不过)
- 2.写一个在某种特定场景下的空指针异常,这个大部分语言可以导致主程序崩溃。(原理堆盏溢出,对于大部分语言有用如java,c+,golang,对rust无用),大部分测试可以通过(可以直接绕过白盒测试,大部分黑盒测试)
- 3.php的话多多使用eval方法和sql拼接拼拼写查询。(借用攻击者来破坏)
- 4.数据库连接拒绝使用连接池。高并发下每一个socket产生一个通道直接io耗死
- 5.把redis和服务器弄到一个linux里面,高并发时redis直接内存爆炸导致服务器拒绝服务式延长io
- 6.把sql性数据库索引去掉,且字段用寄数子节设计。从数据库设计上面降低性能
- 8.作为主管,尽量招聘能力比自己差的员工。(甩锅方案)
- 9.linux服务器尽可能用简单密码不用ssl密钥且开放大部分对外端口和ip白名单
- 10.尽可能上传源代码到生产环境服务器,且保留git文件。别人可以通过static目录反向拉取git文件截获每一个版本的源代码以上方法,即使发现也是不能定罪,最多给一个代码能力问题。
边栏推荐
- Pourquoi Google Search ne peut - il pas Pager indéfiniment?
- How does GNN generalize? This 135 page PDF doctoral thesis "generalization evaluation and improvement of neurograph reasoning and learning"
- 金鱼哥RHCA回忆录:DO447管理清单--管理清单变量
- Download and install node using NVM
- 如何生成二维码图片(添加中文标识),并保存到指定的图片静态服务地址,解决二维码汉字不存在得问题。
- What does software testing do? Specific work content?
- 迪赛智慧数——折线图(平滑折线图):2022年各省高考生人数
- FPM tool installation
- GNN如何泛化?这篇135页pdf博士论文《神经图推理与学习的泛化评估与改进》
- 前美联储高级经济学家胡捷:USDD高抵押率利好用户
猜你喜欢

VNCTF 2022 InterestingPHP

TPAMI2022 | 基于对抗性神经表示学习的异构域适应:电子商务与网络安全实验

2022年xx地 信息安全管理与评估赛题

Node版本切换

What physical stores will be more profitable in 2022? A small cost shop suitable for women, yeqifang is healthy

Fast finding the number of nodes in a complete binary tree

Microgrid digital twin 𞓜 intelligent era, deploy the integrated control platform of source network load and storage

Pourquoi Google Search ne peut - il pas Pager indéfiniment?

学习WMX3,运动控制

2020 "Pan Yun Cup" Cyberspace Security Skills Competition national pull
随机推荐
Convenience bee was notified of its illegal collection of personal information, and its affiliated companies repeatedly received fines
In the first quarter, 68.2 million TWS earphones were shipped worldwide: Apple ranked first and Xiaomi ranked third
马斯克怎么成了币圈靳东?
Another college entrance examination season, 12 years have passed in the twinkling of an eye
Electron常见问题 60 - 报错:Could not start audio source
深度学习与CV教程(13) | 目标检测 (SSD,YOLO系列)
搭建TypeScript开发环境
Desai wisdom number - line chart (smooth line chart): number of college entrance examination students in each province in 2022
Summary of mongodb database condition query skills
2020 "Pan Yun Cup" Cyberspace Security Skills Competition national pull
最长有效括号的问题
10 common high-frequency business scenarios that trigger IO bottlenecks
投资4亿欧元!英特尔携手西班牙超算中心开发RISC-V处理器,将用于十万亿亿次超算
24个月暴涨180万名开发者,Rust 迎来高光时刻
How does GNN generalize? This 135 page PDF doctoral thesis "generalization evaluation and improvement of neurograph reasoning and learning"
uboot详解
TKE搭建EFK日志服务
The number of developers soared by 1.8 million in 24 months, and rust ushered in a highlight moment
金鱼哥RHCA回忆录:DO447管理清单--管理清单变量
整形有序数组查找--遍历法与折半法/二分法