Skip to content

Commit

Permalink
mannual added
Browse files Browse the repository at this point in the history
  • Loading branch information
ivam3 committed Dec 18, 2024
1 parent 28a3e20 commit 6984763
Show file tree
Hide file tree
Showing 4 changed files with 200 additions and 28 deletions.
5 changes: 3 additions & 2 deletions .deb/home/.local/etc/i-Haklab/Tools/Readme/neovim
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ Neovim Cheat Sheet in i-Haklab


esc **mode normal**
| ╰──➤
| ╰──➤
| ╰──➤ gl Muestra diagnostico de la linea actual
| ╰──➤ K Muestra informacion sobre el simbolo donde esta posisionado el cursor
| ╰──➤ b Realiza un salto palabra en sentido contr
| ╰──➤ e Realiza un salto palabra por palabra
| ╰──➤ 0 Resliza un salto al comienso de la linea
| ╰──➤ $ Realiza un salto al final de la linea
| ╰──➤ gd Da un salto a la definicion de
| ╰──➤ gg Da un salto al inicio del archivo
| ╰──➤ G Da un salto al final de la linea
| ╰──➤ d Delete the current line
Expand Down
35 changes: 10 additions & 25 deletions .deb/home/.local/libexec/i-Haklab/about
Original file line number Diff line number Diff line change
@@ -1,36 +1,21 @@
#!/bin/bash

# Configuración del entorno
#!/data/data/com.termux/files/usr/bin/bash
IFS=$'\n\t'
trap ctrl_c INT
source "${HOME}/.local/etc/i-Haklab/variables"
source "$iHETC/functions"

# Definición de la base de datos
db="$iHETC/Tools/Readme"

# Verificar si el directorio existe
if [ ! -d "$db" ]; then
echo "[ERROR] El directorio '$db' no se encontró."
exit 1
fi
[[ ! -d "$db" ]] && { echo "[ERROR] El directorio '$db' no se encontró." && exit 1;}

# Comprobar si se ha pasado un argumento
if [ -z "$1" ]; then
echo "[ERROR] Se debe proporcionar un nombre de archivo como argumento."
exit 1
fi
[[ -z "$1" ]] && { echo "[ERROR] Se debe proporcionar un nombre de archivo como argumento." && exit 1;}

# Convertir la primera letra a mayúscula
first_upper=$(echo "$1" | cut -c1 | tr '[:lower:]' '[:upper:]')
file_path="$db/$first_upper/$1.md"

# Verificar y leer el archivo
if [ -f "$file_path" ]; then
bat "$file_path"
else
echo "Con la inicial '${first_upper}' tengo:"
find "$db/$first_upper" -maxdepth 1 -type f -print0 | while IFS= read -r -d '' entry; do
echo "${entry##*/}" # Extrae solo el nombre del archivo sin la ruta
done
fi
[[ -f "$file_path" ]] && { bat "$file_path" ;} || {
echo "Tools available with '${first_upper}' :";
find "$db/$first_upper" -maxdepth 1 -type f -print0 | \
while IFS= read -r -d '' entry; do
echo "${entry##*/}" # Take out just the file name without path
done
}
3 changes: 2 additions & 1 deletion .deb/manifiest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "i-haklab",
"version": "3.9.1",
"version": "3.9.2",
"arch": "all",
"homepage": "https://github.com/ivam3/i-Haklab",
"maintainer": "Ivam3 <https://t.me/Ivam3_Bot>",
Expand All @@ -9,6 +9,7 @@
"description": "Hacking lab containing an extensive suite of open source tools ported to Termux focused on programming, develop, pentesting, scan/find/explotation/post-explotation of vulnerabilities",
"files" :{
"usr/bin/termux-url-opener": "/data/data/com.termux/files/usr/bin/termux-url-opener",
"usr/share/man/man1/i-Haklab.1": "/data/data/com.termux/files/usr/share/man/man1/i-Haklab.1",
"home/.nanorc": "/data/data/com.termux/files/home/.nanorc",
"home/.config/fish/functions/mypip.fish": "/data/data/com.termux/files/home/.config/fish/functions/mypip.fish",
"home/.config/fish/functions/cinderella.fish": "/data/data/com.termux/files/home/.config/fish/functions/cinderella.fish",
Expand Down
185 changes: 185 additions & 0 deletions .deb/usr/share/man/man1/i-Haklab.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
.TH I-HAKLAB 1 "2024" "" "General Commands Manual"
.nh
.ad l
.
.SH NAME
i-Haklab \- Hacking laboratory containing open-source tools
.
.SH SYNOPSIS
.B i-Haklab
.RI [ OPTION ]...
.RI [ ARG ]
.
.SH DESCRIPTION
i-Haklab v.3.9 (c) 2024 by @Ivam3 is a hacking laboratory containing open-source tools recommended by Ivam3. If the law is violated with its use, the user handling it will be responsible for any consequences.

The syntax for i-Haklab is:
.PP
.B i-Haklab [-option-] [-args-]
.
.SH OPTIONS
.
.SS [--] Setting Options [--]
.TP
.B about <name-of-tool>
Show information about a specific tool or framework (e.g., i-Haklab about crunch).
.TP
.B aptup
Update Termux manually, packages by packages.
.TP
.B help
Show the help menu.
.TP
.B passwd set|new
Set or change the Termux login (e.g., i-Haklab passwd set password).
.TP
.B pd <distro-X11-list>
Run a Linux distribution in a proot environment (e.g., i-Haklab pd alpine for CLI or i-Haklab pd alpine X11 for graphical environment).
.TP
.B setapikey
Set API keys to use in i-Haklab features.
.TP
.B setbanner
Enable, disable, and customize the i-Haklab wall banner.
.TP
.B setuser
Set the i-Haklab username.
.TP
.B show alltools
List all tools/frameworks available on i-Haklab.
.TP
.B version
Show the current version of i-Haklab installed.
.TP
.B weechat
Connect to IRC Ivam3byCinderella chat.
.TP
.B Xwayland
Run X server over Termux Wayland app with XFCE4 as the window manager.

.SS Automatization Options [--]
.TP
.B apkactivity <path-to-apk-file>
Get the main activity from an APK file.
.TP
.B backup create|restore
Create or restore a backup of Termux (e.g., i-Haklab restore /path/to/file.tar.gz).
.TP
.B binchecker
Get information about binary files (CC, DC).
.TP
.B bruteforce ftp|mail|ssh|telnet
Perform a brute force attack on various servers (e.g., i-Haklab bruteforce ftp).
.TP
.B chatGPT <--help|-h>
Connect with the OpenAI API to interact with ChatGPT-3 via CLI (e.g., i-Haklab chatGPT).
.TP
.B ESmsg encode|decode
Encode or decode secret messages into an ASCII file (e.g., i-Haklab ESmsg encode).
.TP
.B fakeID <options+args>
Create a fake identity card with a real email and phone number (e.g., i-Haklab fakeID -g male -n America -c "United States").
.TP
.B tunnel <port+subdomain>
Start an SSH client to request TCP port forwarding (e.g., i-Haklab tunnel -p 4444 -s my-subdomain).
.TP
.B handler <name-of-file.rc>
Start handler on msfconsole with previous settings.
.TP
.B msf dirscan <IP-target>
Enumerate directories or subdirectories from a server (e.g., i-Haklab msf dirscan 10.10.10.242).
.TP
.B msf embed <host> <port> <path-to-file.apk>
Embed a metasploit payload into a legitimate APK file.
.TP
.B msf payapk <host> <port>
Create a coded APK payload (e.g., i-Haklab msf payapk 6.tcp.ngrok.io 23453).
.TP
.B ngroklink
Show the current ngrok link.
.TP
.B ngrokssh <port+protocol+file>
Connect to ngrok servers via SSH protocol (e.g., i-Haklab ngrokssh -p 4546 -t http -f /path/to/id_rsa).
.TP
.B payvid
Hide a reverse shell with a video file by exploiting the Linux OS.
.TP
.B phonescan <phonenumber>
Scan information about a phone number (e.g., i-Haklab phonescan 525584923476).
.TP
.B usbtest <path-to-device>
Test a USB device connected via OTG (e.g., i-Haklab usbtest /dev/bus/usb/001).

.SS Direct Commands [--]
.PP
These commands do not require the `i-Haklab` prefix, simply type the command.
.TP
.B apt
Install/remove and configure packages/tools/frameworks.
.TP
.B adminfiles
Copy any file from internal/external storage to the Termux directory.
.TP
.B bat
Highlight text output instead of using the 'cat' command.
.TP
.B cinderella
Virtual assistant exclusively for the use of Termux.
.TP
.B cmd
Manage Android main settings over Termux.
.TP
.B df
Provide information about mounted memory.
.TP
.B du
Provide recursive information about the weight of directories and files.
.TP
.B fixer
Automate the process to fix Termux issues.
.TP
.B fzf
Fuzzy finder for easier and faster file selection.
.TP
.B gitbrowsering
Search GitHub repositories over CLI.
.TP
.B LOCALHOST
Show the current internet protocol over LAN.
.TP
.B lock
Block Termux's screen.
.TP
.B osrframework
OSINT toolkit.
.TP
.B mypip
Show your public internet protocol.
.TP
.B omf
Change the Oh-My-Fish theme.
.TP
.B postgresql
Start, stop, or restart PostgreSQL database.
.TP
.B proxy
Execute CLI commands over Tor with proxychains.
.TP
.B rmcache
Remove current session cache, temporary files, and residual APT packages.
.TP
.B serverapache
Initialize an Apache server.
.TP
.B serverphp
Initialize a PHP server.
.TP
.B sudo
Execute commands or initialize an environment as a fake root user.
.TP
.B traductor
Initialize a command-line translator.

.SH SEE ALSO
For more information and documentation, visit:

0 comments on commit 6984763

Please sign in to comment.