File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 88
99项目目标:完全掌握本项目后进轻松大厂
1010
11- 计划定期更新,从基础到各种实战问题,打造齐全的Java安全面试题库
11+ 计划定期更新,从基础到各种实战问题,打造齐全的Java安全面试题库(包含问题和详细的答案)
1212
1313最低难度★ 最高难度★★★★★
1414
1818
1919## 分类
2020
21+ 当前问题总数:58
22+
2123[ Java本身的安全问题 - 15个] ( https://github.com/4ra1n/JavaSecInterview/tree/master/java )
2224
2325[ Shiro框架相关的安全问题 - 8个] ( https://github.com/4ra1n/JavaSecInterview/tree/master/shiro )
Original file line number Diff line number Diff line change 22index = open ("README.md" , "r+" , encoding = "utf-8" );
33lines = index .readlines ()
44
5+ all = 0
56for i in range (0 ,len (lines )):
67 if lines [i ].startswith ("[" ):
78 line = lines [i ]
1516 total = total + 1
1617 p = line .split ("-" )[0 ]
1718 s = line .split ("个]" )[1 ]
19+ all += total
1820 lines [i ] = p + "- " + str (total ) + "个]" + s
1921
2022index .seek (0 )
2123index .truncate ()
22- index .writelines (lines )
24+ index .writelines (lines )
25+ print (all )
You can’t perform that action at this time.
0 commit comments