Skip to content

Commit

Permalink
Fix E: preload fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
ivam3 committed Feb 5, 2023
1 parent aab4468 commit a03d5e6
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 15 deletions.
1 change: 1 addition & 0 deletions .deb/home/.local/etc/i-Haklab/variables
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export LPORT='3030'
export RPORT='80'
export MSFPATH='/data/data/com.termux/files/usr/opt/metasploit-framework'
export phonescanKEY=""
export OpenAIkey=""
export WL='/data/data/com.termux/files/home/.local/share/wordlist'
export R='\e[31m'
export G='\e[32m'
Expand Down
6 changes: 4 additions & 2 deletions .deb/home/.local/libexec/i-Haklab/Xwayland
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ source $iHETC/functions

chk-pkg Xwayland xwayland
chk-pkg pulseaudio pulseaudio

command -v termux-x11 >/dev/null || { echo -en "${R}E:$W You need to install the Termux-Wayland(apk) deb file's.";exit;}

export XDG_RUNTIME_DIR=${TMPDIR}
pulseaudio --start --exit-idle-time=-1 2>/dev/null
pacmd load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1
am start -n com.termux.x11/com.termux.x11.MainActivity;sleep 3
Xwayland :0 >/dev/null &
#Xwayland
termux-x11 :0 >/dev/null &
sleep 3
env DISPLAY=:0 xfce4-session
5 changes: 3 additions & 2 deletions .deb/manifiest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "i-haklab",
"version": "3.6.4",
"version": "3.6.5",
"arch": "all",
"homepage": "https://github.com/ivam3/i-Haklab",
"maintainer": "Ivam3 <https://t.me/Ivam3_Bot>",
Expand All @@ -13,7 +13,6 @@
"home/.nanorc": "/data/data/com.termux/files/home/.nanorc",
"home/.config/fish/functions/fish_greeting.fish": "/data/data/com.termux/files/home/.config/fish/functions/fish_greeting.fish",
"home/.config/fish/functions/followps.fish": "/data/data/com.termux/files/home/.config/fish/functions/followps.fish",
"home/.config/fish/functions/github.fish": "/data/data/com.termux/files/home/.config/fish/functions/github.fish",
"home/.config/fish/functions/LOCALHOST.fish": "/data/data/com.termux/files/home/.config/fish/functions/LOCALHOST.fish",
"home/.config/fish/functions/mypip.fish": "/data/data/com.termux/files/home/.config/fish/functions/mypip.fish",
"home/.config/fish/functions/osrframework.fish": "/data/data/com.termux/files/home/.config/fish/functions/osrframework.fish",
Expand All @@ -28,6 +27,8 @@
"home/.config/fish/functions/serverphp.fish": "/data/data/com.termux/files/home/.config/fish/functions/serverphp.fish",
"home/.config/fish/functions/i-Haklab.fish": "/data/data/com.termux/files/home/.config/fish/functions/i-Haklab.fish",
"home/.config/fish/functions/apt.fish": "/data/data/com.termux/files/home/.config/fish/functions/apt.fish",
"home/.config/fish/functions/df.fish": "/data/data/com.termux/files/home/.config/fish/functions/df.fish",
"home/.config/fish/functions/ls.fish": "/data/data/com.termux/files/home/.config/fish/functions/ls.fish",
"home/.config/fish/config.fish": "/data/data/com.termux/files/home/.config/fish/config.fish",
"home/.config/fish/fish_variables": "/data/data/com.termux/files/home/.config/fish/fish_variables",
"home/.local/etc/i-Haklab/listofbooks": "/data/data/com.termux/files/home/.local/etc/i-Haklab/listofbooks",
Expand Down
4 changes: 3 additions & 1 deletion .deb/usr/bin/i-Haklab-installer
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ CONF
fish <(curl -fsSL "$iHDB/.local/etc/i-Haklab/get.oh-my.fish")
file=$(mktemp)
chmod 777 $file

echo "Setting Fonts ...";$z
cat <<- CONF > $file
#!/bin/env fish
omf install will
Expand All @@ -73,7 +75,7 @@ rm $file
}
wget --tries=20 --quiet https://github.com/ryanoasis/nerd-fonts/releases/download/$fontsV/Hack.zip \
-O ${PREFIX}/share/fonts/Hack.zip
unzip ${PREFIX}/share/fonts/Hack.zip -d ${PREFIX}/share/fonts/
unzip -q ${PREFIX}/share/fonts/Hack.zip -d ${PREFIX}/share/fonts/
rm -rf ${PREFIX}/share/fonts/Hack.zip

# SET ROOT USER IF DEVICE IS ROOTED
Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ i-Haklab weechat
### INSTALLATION.
- CLONING THIS REPOSITORY:
```bash
git clone https://github.com/ivam3/i-Haklab
cd i-Haklab
chmod +x setup
git clone https://github.com/ivam3/i-Haklab \
cd i-Haklab \
chmod +x setup \
bash setup
```
- ADDING AT APT SOURCES LIST
```bash
apt install wget
mkdir -p $PREFIX/etc/apt/sources.list.d
wget https://raw.githubusercontent.com/ivam3/termux-packages/gh-pages/ivam3-termux-packages.list -O $PREFIX/etc/apt/sources.list.d/ivam3-termux-packages.list
apt update
apt upgrade
apt install wget \
mkdir -p $PREFIX/etc/apt/sources.list.d \
wget https://raw.githubusercontent.com/ivam3/termux-packages/gh-pages/ivam3-termux-packages.list -O $PREFIX/etc/apt/sources.list.d/ivam3-termux-packages.list \
apt update && yes|apt upgrade \
apt install i-haklab
```


Expand All @@ -52,7 +52,7 @@ i-Haklab share
```
- Provide you with deliberately vulnerable web site servers as [bWAPP](http://www.itsecgames.com/), [DVWA](https://dvwa.co.uk/) and [MUTILLIDAE](https://github.com/webpwnized/mutillidae) to practice your hacking skills searching, finding and exploting the most common vulnerabilities. Enable those running:
```bash
i-Haklab server4test
i-Haklab servers4test
```
- Provide you more than [100 tools/frameworks](https://github.com/ivam3/termux-packages) with an easy install/remove over command `apt`. You can get the list of all availables running :
```bash
Expand Down Expand Up @@ -118,7 +118,7 @@ lock
### DESKTOP ENVIROMENT
> [i-Haklab]() automates the installation and configuration of a graphical environment with the xfce4 windows manager, which opens up the possibility of running tools such as wireshark and burpsuite. For this, the installation of the [Termux:Wayland](https://github.com/termux/termux-x11) application is required. Once installed it to run this enviroment just execute:
```bash
apt install termux-desktop-xfce
apt install termux-desktop-xfce \
i-Haklab Xwayland
```
![TermuxWayland](/.img/TermuxWayland.jpg)
Expand Down

0 comments on commit a03d5e6

Please sign in to comment.