Showing posts with label temux-tool. Show all posts
Showing posts with label temux-tool. Show all posts

Friday, May 12, 2023

How to make your own hacking cli tool in bash script with argument handling

 To create a cli app with argument you have to add argv[]. to handle this args you should have some knowledge about bash scripting. 

But if you don't know about bash scripting and you are still trying to make your own cli tool , you are on the right place.

Requirement .

1. Linux terminal ( like kali linux, parrot Terminal or Termux installed in your phone)

2. Some basic of bash scripting 

3. Git install on your system 

We are going to clone a repo called puppy .

run the cmd 

git clone https://github.com/princekrvert/puppy 

go into the puppy directory 

cd puppy 

give them permission to execute 

chmod +x *

Now run the setup file 

./install.sh or bash install.sh 

Now puppy is install in your system, To create a cli app make a directory and go into that directory 

like 

mkdir testproject 

cd testporject 

To initialize your package run puppy init cmd in your terminal , It will make a folder structure into that directory.

To add a cmd to your app run the puppu add <and the name of your cmd > 

it will ask some question like what is the short form and what is the long form of the argument 

Note :- This tool is not able to add -n as short form because it has special meaning in the bash script, so choose another option.

you can add multiple cmd to your app 

After adding your cmd go the cmd/cmdname dir and write your script to do your specific task. 


 


what is free fire phishing and how you can avoid it ?.

 Hello friends in this blog we are going to know how hackers are able to hack your free fire account and taking control of it . We are going...