-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
13d89da
commit 61e4835
Showing
73 changed files
with
4,344 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Version 1.0.2 | ||
------------- | ||
* The entire source for Huntpad is now available on GitHub. Feel free to fork it, | ||
examine it, contribute code, send suggestions, report or fix issues. | ||
|
||
* Fixed: Swap Case option not working. | ||
|
||
Version 1.0.1 | ||
------------- | ||
* Added syntax highlighting for Java files. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Syhunt, Sandcat and Huntpad are registered trademarks or trademarks of Syhunt Informatica. | ||
Other brands and trademarks are the property of their respective owners. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Copyright (c) 2011-2018, Syhunt Informatica | ||
Portions copyright (c) 2003-2018, Felipe Daragon | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are met: | ||
|
||
* Redistributions of source code must retain the above copyright notice, this | ||
list of conditions and the following disclaimer. | ||
|
||
* Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
|
||
* Neither the name, trademarks or logos of Syhunt nor the names of its | ||
contributors may be used to endorse or promote products derived from this | ||
software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE | ||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | ||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | ||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Huntpad | ||
|
||
Huntpad is a notepad application with features that are particularly useful to penetration testers and bug hunters - a collection of common injection string generators, hash generators, encoders and decoders, HTML and text manipulation functions, and so on, coupled with syntax highlighting for several programming languages. For more details, visit the [Huntpad homepage](http://www.syhunt.com/?n=Products.SyhuntHuntpad). | ||
|
||
## Directories | ||
|
||
* `/lualib` - the source of the Huntpad Forge Lua library containing many of its toolbar functions written in a variety of languages. | ||
* `/packs` - contents of the uncompressed pack file *Huntpad.scx* | ||
* `/src` - the main executable source and built-in resource files | ||
* `/html` - user interface resources (HTML) | ||
* `/lua` - Lua API source | ||
|
||
## Download | ||
|
||
Compiled binaries for Windows can be downloaded from the links below. | ||
|
||
* [1.0.2 32-bit](http://www.syhunt.com/en/index.php?n=Tools.DownloadHuntpad) | ||
|
||
## Compiling | ||
|
||
For compiling Huntpad, you will just need [Catarinka](https://github.com/felipedaragon/catarinka) and [pLua](https://github.com/felipedaragon/pLua-XE). | ||
|
||
There is no need to install third-party components in the IDE - you can just add the dependencies listed above to the library path and hit compile. It compiles under Delphi 10 Seattle down to XE2. | ||
|
||
When starting up, Huntpad will require the [Underscript](https://github.com/felipedaragon/underscript) Lua library compiled and some packed resource files from [Sandcat](https://github.com/felipedaragon/sandcat) (*Common.pak* and *Resources.pak*) to work. | ||
|
||
## License & Credits | ||
|
||
Huntpad was developed by Felipe Daragon, [Syhunt](http://www.syhunt.com/). | ||
|
||
This code is licensed under a 3-clause BSD license - see the LICENSE file for details. | ||
|
||
Third-party software used in Huntpad include: | ||
|
||
* [Lua](http://www.lua.org/) - Developed by a small team at Pontifícia Universidade Católica do Rio de Janeiro (PUC-Rio), Lua is a core language used by Huntpad. | ||
* **Sciter** is the engine currently used by Huntpad for rendering its user interface toolbar. | ||
* Icons are derived from: [Fugue Icons](https://github.com/yusukekamiyamane/fugue-icons) (by [@yusukekamiyamane](https://github.com/yusukekamiyamane/)) and [FatCow Icons](http://www.fatcow.com/free-icons). | ||
* For syntax highlighting, Huntpad currently uses [SynEdit](http://sourceforge.net/projects/synedit/) and [@Krystian-Bigaj](https://github.com/Krystian-Bigaj)'s [SynWeb](https://code.google.com/p/synweb/) with a color scheme adapted from [@korny](https://github.com/korny)'s [CodeRay](https://github.com/rubychan/coderay). | ||
|
||
The license for each component listed above can be found in the `/packs/Resources/docs/` directory of the [Sandcat](https://github.com/felipedaragon/sandcat) repository. | ||
|
||
## Contact | ||
|
||
Twitter: [@felipedaragon](https://twitter.com/felipedaragon), [@syhunt](https://twitter.com/syhunt) | ||
|
||
Email: felipe _at_ syhunt.com |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
-$A8 | ||
-$B- | ||
-$C+ | ||
-$D+ | ||
-$E- | ||
-$F- | ||
-$G+ | ||
-$H+ | ||
-$I+ | ||
-$J- | ||
-$K- | ||
-$L+ | ||
-$M- | ||
-$N+ | ||
-$O+ | ||
-$P+ | ||
-$Q- | ||
-$R- | ||
-$S- | ||
-$T- | ||
-$U- | ||
-$V+ | ||
-$W- | ||
-$X+ | ||
-$YD | ||
-$Z1 | ||
-cg | ||
-AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; | ||
-H+ | ||
-W+ | ||
-M | ||
-$M16384,1048576 | ||
-K$00400000 | ||
-E"F:\SySuite\Win32\" | ||
-N"F:\Syhunt\Src-D7\DCU\" | ||
-LE"c:\arquivos de programas\borland\delphi7\Projects\Bpl" | ||
-LN"c:\arquivos de programas\borland\delphi7\Projects\Bpl" | ||
-U"Paw" | ||
-O"Paw" | ||
-I"Paw" | ||
-R"Paw" | ||
-w-UNSAFE_TYPE | ||
-w-UNSAFE_CODE | ||
-w-UNSAFE_CAST |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,150 @@ | ||
[FileVersion] | ||
Version=7.0 | ||
[Compiler] | ||
A=8 | ||
B=0 | ||
C=1 | ||
D=1 | ||
E=0 | ||
F=0 | ||
G=1 | ||
H=1 | ||
I=1 | ||
J=0 | ||
K=0 | ||
L=1 | ||
M=0 | ||
N=1 | ||
O=1 | ||
P=1 | ||
Q=0 | ||
R=0 | ||
S=0 | ||
T=0 | ||
U=0 | ||
V=1 | ||
W=0 | ||
X=1 | ||
Y=1 | ||
Z=1 | ||
ShowHints=1 | ||
ShowWarnings=1 | ||
UnitAliases=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; | ||
NamespacePrefix= | ||
SymbolDeprecated=1 | ||
SymbolLibrary=1 | ||
SymbolPlatform=1 | ||
UnitLibrary=1 | ||
UnitPlatform=1 | ||
UnitDeprecated=1 | ||
HResultCompat=1 | ||
HidingMember=1 | ||
HiddenVirtual=1 | ||
Garbage=1 | ||
BoundsError=1 | ||
ZeroNilCompat=1 | ||
StringConstTruncated=1 | ||
ForLoopVarVarPar=1 | ||
TypedConstVarPar=1 | ||
AsgToTypedConst=1 | ||
CaseLabelRange=1 | ||
ForVariable=1 | ||
ConstructingAbstract=1 | ||
ComparisonFalse=1 | ||
ComparisonTrue=1 | ||
ComparingSignedUnsigned=1 | ||
CombiningSignedUnsigned=1 | ||
UnsupportedConstruct=1 | ||
FileOpen=1 | ||
FileOpenUnitSrc=1 | ||
BadGlobalSymbol=1 | ||
DuplicateConstructorDestructor=1 | ||
InvalidDirective=1 | ||
PackageNoLink=1 | ||
PackageThreadVar=1 | ||
ImplicitImport=1 | ||
HPPEMITIgnored=1 | ||
NoRetVal=1 | ||
UseBeforeDef=1 | ||
ForLoopVarUndef=1 | ||
UnitNameMismatch=1 | ||
NoCFGFileFound=1 | ||
MessageDirective=1 | ||
ImplicitVariants=1 | ||
UnicodeToLocale=1 | ||
LocaleToUnicode=1 | ||
ImagebaseMultiple=1 | ||
SuspiciousTypecast=1 | ||
PrivatePropAccessor=1 | ||
UnsafeType=0 | ||
UnsafeCode=0 | ||
UnsafeCast=0 | ||
[Linker] | ||
MapFile=0 | ||
OutputObjs=0 | ||
ConsoleApp=1 | ||
DebugInfo=0 | ||
RemoteSymbols=0 | ||
MinStackSize=16384 | ||
MaxStackSize=1048576 | ||
ImageBase=4194304 | ||
ExeDescription= | ||
[Directories] | ||
OutputDir=F:\SySuite\Win32\ | ||
UnitOutputDir=F:\Syhunt\Src-D7\DCU\ | ||
PackageDLLOutputDir= | ||
PackageDCPOutputDir= | ||
SearchPath=Paw | ||
Packages=vcl;rtl;vclx;indy;inet;xmlrtl;vclie;inetdbbde;inetdbxpress;dbrtl;dsnap;dsnapcon;vcldb;soaprtl;VclSmp;dbexpress;dbxcds;inetdb;bdertl;vcldbx;webdsnap;websnap;adortl;ibxpress;teeui;teedb;tee;dss;visualclx;visualdbclx;vclactnband;vclshlctrls;IntrawebDB_50_70;Intraweb_50_70;Rave50CLX;Rave50VCL;dclOfficeXP;RxCtl7 | ||
Conditionals= | ||
DebugSourceDirs= | ||
UsePackages=0 | ||
[Parameters] | ||
RunParams= | ||
HostApplication= | ||
Launcher= | ||
UseLauncher=0 | ||
DebugCWD= | ||
[Language] | ||
ActiveLang= | ||
ProjectLang= | ||
RootDir=C:\Arquivos de programas\Borland\Delphi7\Bin\ | ||
[Version Info] | ||
IncludeVerInfo=1 | ||
AutoIncBuild=0 | ||
MajorVer=4 | ||
MinorVer=0 | ||
Release=0 | ||
Build=0 | ||
Debug=0 | ||
PreRelease=0 | ||
Special=0 | ||
Private=0 | ||
DLL=0 | ||
Locale=1033 | ||
CodePage=1252 | ||
[Version Info Keys] | ||
CompanyName=Syhunt Cyber-Security Company | ||
FileDescription=Syhunt Selenite Extensions | ||
FileVersion=4.0.0.0 | ||
InternalName=SELENITE | ||
LegalCopyright=Copyright (c) Syhunt. All rights reserved. | ||
LegalTrademarks= | ||
OriginalFilename=SELENITE.DLL | ||
ProductName=Selenite | ||
ProductVersion=1.0.0.0 | ||
Comments= | ||
[HistoryLists\hlUnitAliases] | ||
Count=1 | ||
Item0=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; | ||
[HistoryLists\hlSearchPath] | ||
Count=3 | ||
Item0=Paw | ||
Item1=QuickSand | ||
Item2=Gelo | ||
[HistoryLists\hlUnitOutputDirectory] | ||
Count=1 | ||
Item0=F:\Syhunt\Src-D7\DCU\ | ||
[HistoryLists\hlOutputDirectorry] | ||
Count=1 | ||
Item0=F:\SySuite\Win32\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
library Forge; | ||
|
||
uses | ||
Lua, pLuaMin, CatResMin; | ||
|
||
{$R *.res} | ||
{$R Code.res} | ||
|
||
procedure ExecResource(L: plua_State; const ResName: string); | ||
begin | ||
plua_dostring(L, GetResourceAsString(ResName, 'LUA')); | ||
end; | ||
|
||
function lua_getfile(L: plua_State): integer; cdecl; | ||
var | ||
s: string; | ||
begin | ||
try | ||
s := GetResourceAsString(lua_tostring(L, 2), 'FILES'); | ||
except | ||
end; | ||
lua_pushstring(L, s); | ||
result := 1; | ||
end; | ||
|
||
function luaopen_Forge(L: plua_State): integer; cdecl; | ||
begin | ||
plua_RegisterLuaTable(L, '_forgefiles', @lua_getfile, nil); | ||
ExecResource(L, 'MAIN'); // Lua functions | ||
ExecResource(L, 'CHAR'); // JS functions - Char Conversion | ||
ExecResource(L, 'CONV'); // JS functions - Conversion | ||
ExecResource(L, 'IP'); // JS functions - IP related | ||
ExecResource(L, 'UTILS001'); // PHP functions | ||
ExecResource(L, 'UTILS002'); // Ruby functions | ||
result := 0; | ||
end; | ||
|
||
Exports luaopen_Forge; | ||
|
||
begin | ||
|
||
end. |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
CHAR LUA "js_char.lua" | ||
CONV LUA "js_conv.lua" | ||
IP LUA "js_ip.lua" | ||
MAIN LUA "main.lua" | ||
UTILS001 LUA "php_utils.lua" | ||
UTILS002 LUA "rb_utils.lua" | ||
HASEGAWA FILES "hasegawa.js" |
Oops, something went wrong.