Skip to content

Commit ccc44b7

Browse files
committed
- Toast messages (alerts)
- UX changes for better scalability - Better colors for buttons - Sticky command output - Fixed scrollbar height bug - Better compiler - Final compiled html file now doesn't use external image (now it is base64 inline encoded)
1 parent f53d689 commit ccc44b7

File tree

8 files changed

+7315
-3683
lines changed

8 files changed

+7315
-3683
lines changed

.github/workflows/static.yml

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,46 @@
1-
# Simple workflow for deploying static content to GitHub Pages
2-
name: Deploy static content to Pages
3-
4-
on:
5-
# Runs on pushes targeting the default branch
6-
push:
7-
branches: ["main"]
8-
9-
# Allows you to run this workflow manually from the Actions tab
10-
workflow_dispatch:
11-
12-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13-
permissions:
14-
contents: read
15-
pages: write
16-
id-token: write
17-
18-
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19-
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20-
concurrency:
21-
group: "pages"
22-
cancel-in-progress: false
23-
24-
jobs:
25-
# Single deploy job since we're just deploying
26-
deploy:
27-
environment:
28-
name: github-pages
29-
url: ${{ steps.deployment.outputs.page_url }}
30-
runs-on: ubuntu-latest
31-
steps:
32-
- name: Checkout
33-
uses: actions/checkout@v4
34-
- name: Setup Pages
35-
uses: actions/configure-pages@v5
36-
- name: Build index-final.html
37-
run: |
38-
python build.py
39-
- name: Upload artifact
40-
uses: actions/upload-pages-artifact@v3
41-
with:
42-
# Upload entire repository
43-
path: '.'
44-
- name: Deploy to GitHub Pages
45-
id: deployment
46-
uses: actions/deploy-pages@v4
1+
# Simple workflow for deploying static content to GitHub Pages
2+
name: Deploy static content to Pages
3+
4+
on:
5+
# Runs on pushes targeting the default branch
6+
push:
7+
branches: ["main"]
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
12+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
18+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20+
concurrency:
21+
group: "pages"
22+
cancel-in-progress: false
23+
24+
jobs:
25+
# Single deploy job since we're just deploying
26+
deploy:
27+
environment:
28+
name: github-pages
29+
url: ${{ steps.deployment.outputs.page_url }}
30+
runs-on: ubuntu-latest
31+
steps:
32+
- name: Checkout
33+
uses: actions/checkout@v4
34+
- name: Setup Pages
35+
uses: actions/configure-pages@v5
36+
- name: Build index-final.html
37+
run: |
38+
python build.py
39+
- name: Upload artifact
40+
uses: actions/upload-pages-artifact@v3
41+
with:
42+
# Upload entire repository
43+
path: '.'
44+
- name: Deploy to GitHub Pages
45+
id: deployment
46+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
todo.md
2-
.vs/
3-
*~*
1+
todo.md
2+
.vs/
3+
*~*
4+
sqlmap-command-builder.code-workspace

README.md

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
<picture>
2-
<source media="(prefers-color-scheme: dark)" srcset="./logo-dark.png">
3-
<img height=300 alt="SQLMAP COMMAND BUILDER" src="./logo-light.png">
4-
</picture>
5-
6-
## <https://vizzdoom.github.io/sqlmap-command-builder/>
7-
8-
**This interactive builder lets you craft advanced SQLMap commands without memorising dozens of switches.**
9-
10-
Project is build with vanila HTML/JS/CSS – it works completely offline and keeps your data private.
11-
12-
## Building
13-
14-
A Python helper script compilies JS and CSS into HTML, creating a single distributable `index.html` file.
15-
16-
Run:
17-
18-
```bash
19-
python3 build.py
20-
```
21-
22-
The resulting file can be opened directly in your browser or served from any web server.
23-
24-
Above built artifact is automatically deployed to the project's GitLab Page.
25-
26-
## Use responsibly
27-
28-
_This software is exclusively designed for educational purposes._
29-
30-
_The developer is not liable for any damages or misuse that may result from using this tool._
31-
32-
_You have to accept this term to use or distribute this software._
1+
<picture>
2+
<source media="(prefers-color-scheme: dark)" srcset="./logo-dark.png">
3+
<img height=300 alt="SQLMAP COMMAND BUILDER" src="./logo-light.png">
4+
</picture>
5+
6+
## <https://vizzdoom.github.io/sqlmap-command-builder/>
7+
8+
**This interactive builder lets you craft advanced SQLMap commands without memorising dozens of switches.**
9+
10+
Project is build with vanila HTML/JS/CSS – it works completely offline and keeps your data private.
11+
12+
## Building
13+
14+
A Python helper script compilies JS and CSS into HTML, creating a single distributable `index.html` file.
15+
16+
Run:
17+
18+
```bash
19+
python3 build.py
20+
```
21+
22+
The resulting file can be opened directly in your browser or served from any web server.
23+
24+
Above built artifact is automatically deployed to the project's GitLab Page.
25+
26+
## Use responsibly
27+
28+
_This software is exclusively designed for educational purposes._
29+
30+
_The developer is not liable for any damages or misuse that may result from using this tool._
31+
32+
_You have to accept this term to use or distribute this software._

0 commit comments

Comments
 (0)