Skip to content

Commit

Permalink
Release 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jalkhov committed Jan 20, 2022
1 parent 16aa071 commit 4996a40
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 23 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,3 @@ This Hackbar benefits from the modifications made by t.pro and Renegade18
Original Hackbar Developers: Johan Adriaans and Pedro Laguna.

Icons courtesy of Fatcow https://www.fatcow.com/free-icons

# TODO
- [ ] Fix viewsource customization menu icon
36 changes: 19 additions & 17 deletions chrome/content/SQL.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,26 @@ HackBar.SQL = {
selectionToSQLChar: function (dbEngine) {
var charStringArray = new Array();
var txt = hackBar.getSelectedText();
var decimal;
for (var c = 0; c < txt.length; c++) {
decimal = txt.charCodeAt(c);
charStringArray.push(decimal);
}
var charString = "";
switch (dbEngine) {
case "mysql":
charString = "CHAR(" + charStringArray.join(",") + ")";
break;
case "mssql":
charString = " CHAR(" + charStringArray.join(") + CHAR(") + ")";
break;
case "oracle":
charString = " CHR(" + charStringArray.join(") || CHR(") + ")";
break;
if(txt != undefined){
var decimal;
for (var c = 0; c < txt.length; c++) {
decimal = txt.charCodeAt(c);
charStringArray.push(decimal);
}
var charString = "";
switch (dbEngine) {
case "mysql":
charString = "CHAR(" + charStringArray.join(",") + ")";
break;
case "mssql":
charString = " CHAR(" + charStringArray.join(") + CHAR(") + ")";
break;
case "oracle":
charString = " CHR(" + charStringArray.join(") || CHR(") + ")";
break;
}
hackBar.setSelectedText(charString);
}
hackBar.setSelectedText(charString);
},
UnionSelectStatement: function (encoding) {
var prefManager = Components.classes[
Expand Down
Binary file modified chrome/viewsource.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<Description about="urn:mozilla:install-manifest">
<em:id>neohackbar@Jalkhov</em:id>
<em:iconURL>chrome://hackbar/skin/addon-icon/icon-64.png</em:iconURL>
<em:version>1.0.0</em:version>
<em:version>1.0.1</em:version>
<em:type>2</em:type>
<em:name>Neo Hackbar</em:name>
<em:description>Hackbar modified by Jalkhov. Credits to Johan Adriaans and Pedro Laguna (The coder's of the original Hackbar) also t.pro and Renegade18 for further modifications
Expand Down
4 changes: 2 additions & 2 deletions release.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
set VER=1.0.0
set VER=1.0.1

:: BUILD .jar files
:: PACK .jar files
cd chrome

cd livehttpheaders
Expand Down

0 comments on commit 4996a40

Please sign in to comment.