python生成数字

1
2
3
for i in range(0,10000000):
i=str(i)
print(i.zfill(7))#如果不要0001这种样式的话就改成1,就会从1开始

从0000000到10000000,在做越权和信息泄露测试时遍历id专用


声明:
本文章用于学习交流,严禁用于非法操作,出现后果一切自行承担,阅读此文章表示你已同意本声明。

Disclaimer:
This article is for study and communication. It is strictly forbidden to use it for illegal operations. All consequences shall be borne by yourself. Reading this article means that you have agreed to this statement.