File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1+ import datetime
2+
13def read_text (path ):
24 with open (path ) as file :
35 return file .read ()
46
57
68def inline_assets (html , css , js ):
9+ compilation_time = datetime .datetime .now ().strftime ("%Y-%m-%d %H:%M" )
10+ page = html .replace (f'<span id="tool-version"></span>' , '<span id="tool-version">compiled on {compilation_time}<strong></strong></span>' )
711 page = html .replace ('<link rel="stylesheet" href="style.css">' , '' )
812 page = page .replace ('</head>' , f'<style>\n { css } \n </style>\n </head>' )
913 page = page .replace ('<script src="app.js"></script>' , '' )
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ <h1><a href="?">SQLMap Command Builder</a></h1>
1616 </ p >
1717
1818 < p >
19- < a href ="https://github.com/vizzdoom/sqlmap-command-builder " target ="_blank "> Github Repository</ a > for < a target ="_blank " href ="https://github.com/sqlmapproject/sqlmap/releases "> SQLMap 1.9.4</ a > < br />
19+ < a href ="https://github.com/vizzdoom/sqlmap-command-builder " target ="_blank "> Github Repository</ a > < span id =" tool-version " > </ span > for < a target ="_blank " href ="https://github.com/sqlmapproject/sqlmap/releases "> SQLMap 1.9.4</ a > < br />
2020 vizzdoom/at/gmail/dot/com
2121 </ p >
2222 </ header >
You can’t perform that action at this time.
0 commit comments