From 9e0b58703bff3990937720f6f000fca9667a74bb Mon Sep 17 00:00:00 2001 From: HAHWUL Date: Wed, 24 Jul 2024 23:29:20 +0900 Subject: [PATCH 1/2] chore: Update GitHub Actions workflow badge URL --- scripts/erb.rb | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/scripts/erb.rb b/scripts/erb.rb index 6882596..221657d 100644 --- a/scripts/erb.rb +++ b/scripts/erb.rb @@ -55,9 +55,9 @@ template = %q{

- + - + A collection of awesome tools used by Web hackers. Happy hacking , Happy bug-hunting @@ -72,7 +72,7 @@ A collection of awesome tools used by Web hackers. Happy hacking , Happy bug-hun - [Bookmarklets](#bookmarklets) - [Browser Addons](#browser-addons) - [Burp and ZAP Addons](#burpsuite-and-zap-addons) -- [Contribute](CONTRIBUTING.md) +- [Contribute](CONTRIBUTING.md) - [Thanks to contributor](#thanks-to-contributor) ## Weapons @@ -131,7 +131,7 @@ Dir.entries("./weapons/").each do | name | data = YAML.load(File.open("./weapons/#{name}")) if data['type'] != "" && data['type'] != nil - if weapons_obj[data['type'].downcase] != nil + if weapons_obj[data['type'].downcase] != nil weapons_obj[data['type'].downcase].push data else weapons_obj[data['type'].downcase] = [] @@ -140,7 +140,7 @@ Dir.entries("./weapons/").each do | name | else weapons_obj['etc'].push data end - rescue => e + rescue => e puts e end end @@ -169,10 +169,10 @@ weapons.each do | data | end rescue end - + popularity = "" - if data['url'].length > 0 + if data['url'].length > 0 name = "[#{name}](#{data['url']})" end @@ -182,7 +182,7 @@ weapons.each do | data | end badge = generate_badge(data['platform']) line = "|#{data['type']}|#{name}|#{data['description']}|#{popularity}|#{temp_tags.join ' '}|#{badge}#{lang_badge}|" - case data['category'].downcase + case data['category'].downcase when 'tool' tools = tools + line + "\n" when 'tool-addon' @@ -198,7 +198,7 @@ weapons.each do | data | tmp_lang = data['lang'] tmp_tags = data['tags'] - if tmp_tags != nil + if tmp_tags != nil tmp_tags.each do |t| if categorize_tags[t] == nil categorize_tags[t] = line + "\n" @@ -207,16 +207,16 @@ weapons.each do | data | end end end - + if tmp_lang != nil - if categorize_langs[tmp_lang] == nil + if categorize_langs[tmp_lang] == nil categorize_langs[tmp_lang] = line + "\n" else categorize_langs[tmp_lang] = categorize_langs[tmp_lang] + line + "\n" end end - rescue => e + rescue => e puts e end end @@ -236,11 +236,11 @@ categorize_tags.each do |key,value| end categorize_langs.each do |key,value| - if key != nil && key != "" + if key != nil && key != "" @ct_lang = key @ct_head = head + "\n" @ct_data = value lang_markdown = ERB.new(categorize_template_langs, trim_mode: "%<>") File.write "./categorize/langs/#{@ct_lang}.md", lang_markdown.result end -end \ No newline at end of file +end From 77c71660b78dd313405810b2c00e1e04e280b45d Mon Sep 17 00:00:00 2001 From: HAHWUL Date: Wed, 24 Jul 2024 23:32:02 +0900 Subject: [PATCH 2/2] Add caido badge --- images/caido.png | Bin 0 -> 1225 bytes scripts/erb.rb | 2 ++ 2 files changed, 2 insertions(+) create mode 100644 images/caido.png diff --git a/images/caido.png b/images/caido.png new file mode 100644 index 0000000000000000000000000000000000000000..28557c2828bda7d9323856c4503b5dc066e9fb61 GIT binary patch literal 1225 zcmV;)1UCDLP)Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR916rckD1ONa40RR916aWAK0J7ci{Qv+2Gf6~2R5%f1V4yN!Cc->Ud47Ib z0Raxdk6(ZO1gigoPY)xqq%1$b^29*%(-V$dNjP-p*`|Z#{=c7o`F8!*tM{iEnOPY0 zRE5pdm!=ub6k}{);8Q|1o$3w!c5Z6K_d^py9)skA9aLgKG&*2h?d9+fD9GZbEFHf%)B&WJ z$x&4@XiK)|J6&lZOOOU75neSQ#d>a1#P6%Kqe1E!Hg@=))>IbM0kPpALtSmQv$RA! z9|MEX$^gf&Ac?ubcDE{=4Hg2K@QBNB(P=o=68v32fI$E#&ZsEGs}7`@t}c%G2BZ;S znXNV0wn=v8*Tp$Fl*+91R)lFQmjP9<%!{zU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