mirror of
https://github.com/hahwul/WebHackersWeapons.git
synced 2024-12-18 04:04:29 -05:00
Update migrate script and add erb script
This commit is contained in:
parent
f2e64b0688
commit
efb478945f
46
scripts/erb.rb
Normal file
46
scripts/erb.rb
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
require 'erb'
|
||||||
|
|
||||||
|
template = %q{
|
||||||
|
<h1 align="center">
|
||||||
|
<br>
|
||||||
|
<a href=""><img src="https://user-images.githubusercontent.com/13212227/104400969-9f3d9280-5596-11eb-80f4-864effae95fc.png" alt="" width="500px;"></a>
|
||||||
|
<br>
|
||||||
|
<img src="https://img.shields.io/github/languages/top/hahwul/WebHackersWeapons?style=flat">
|
||||||
|
<img src="https://img.shields.io/github/last-commit/hahwul/WebHackersWeapons?style=flat">
|
||||||
|
<img src="https://img.shields.io/badge/PRs-welcome-cyan">
|
||||||
|
<img src="https://github.com/hahwul/WebHackersWeapons/workflows/Build/badge.svg">
|
||||||
|
<img src="https://github.com/hahwul/WebHackersWeapons/workflows/CodeQL/badge.svg">
|
||||||
|
<a href="https://twitter.com/intent/follow?screen_name=hahwul"><img src="https://img.shields.io/twitter/follow/hahwul?style=flat&logo=twitter"></a>
|
||||||
|
</h1>
|
||||||
|
A collection of cool tools used by Web hackers. Happy hacking , Happy bug-hunting
|
||||||
|
|
||||||
|
## Family project
|
||||||
|
[![WebHackersWeapons](https://img.shields.io/github/stars/hahwul/WebHackersWeapons?label=WebHackersWeapons)](https://github.com/hahwul/WebHackersWeapons)
|
||||||
|
[![MobileHackersWeapons](https://img.shields.io/github/stars/hahwul/MobileHackersWeapons?label=MobileHackersWeapons)](https://github.com/hahwul/MobileHackersWeapons)
|
||||||
|
|
||||||
|
## Table of Contents
|
||||||
|
- [WHW-Tools](https://whw-tools.hahwul.com)
|
||||||
|
- [Weapons](#weapons)
|
||||||
|
- [Awesome Bookmarklets](https://github.com/hahwul/WebHackersWeapons/tree/master/Bookmarklets)
|
||||||
|
- [Awesome Browser Extensions](https://github.com/hahwul/WebHackersWeapons/tree/master/Browser%20Extensions)
|
||||||
|
- [Awesome Burp and ZAP Extensions](https://github.com/hahwul/WebHackersWeapons/tree/master/Burp%20and%20ZAP%20Extensions)
|
||||||
|
- [Contribute](https://github.com/hahwul/WebHackersWeapons/blob/master/CONTRIBUTING.md)
|
||||||
|
- [Thanks to contributor](#thanks-to-contributor)
|
||||||
|
|
||||||
|
## WHW-Tools
|
||||||
|
> Always use the latest tools 😎
|
||||||
|
|
||||||
|
`WHW-Tools` is tools web of `#WebHackersWeapons`. Easy install and Easy manage upgrade. Go to [WHW-Tools](https://whw-tools.hahwul.com/)
|
||||||
|
|
||||||
|
## Weapons
|
||||||
|
<%= aa %>
|
||||||
|
|
||||||
|
## Thanks to (Contributor)
|
||||||
|
I would like to thank everyone who helped with this project 👍😎
|
||||||
|
![](/CONTRIBUTORS.svg)
|
||||||
|
|
||||||
|
}.gsub(/^ /, '')
|
||||||
|
aa = 4414
|
||||||
|
|
||||||
|
markdown = ERB.new(template, trim_mode: "%<>")
|
||||||
|
puts markdown.result
|
@ -73,7 +73,7 @@ def migrate jsonfile, category
|
|||||||
|
|
||||||
# Save yaml file
|
# Save yaml file
|
||||||
puts filename
|
puts filename
|
||||||
#File.write("./data/#{filename}", yaml_data)
|
#File.write("./weapons/#{filename}", yaml_data)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user