Of course we will be bored because we always use someone else’s script. Because of that, now I will share how to make your own termux script, so that we can be enthusiastic about learning termux again.
In the process of creating a termux script, we can include our name, phone number, github address or even YouTube and other social media addresses.
The following is an example of the data entered into the termux script.

How, you guys also want to make it right?
Well, I will share the tutorial in order and that is definitely easy to understand. I start from….
What Do You Need To Create a Termux Script?
In general, what is needed is
- Language skills like python, PHP, Bash and others.
- Skills in compiling scripts with certain codes or functions.
- A github account (optional)
If you want your script to be used by someone else, then upload it to your github account.
For example, let’s say we want to create a termux script about mathematics using the php language.
So what we need is to arrange the php functions so that they become a mathematical formula.
For example :
echo "Masukan Jumlah: "; $jmlh1=trim(fgets(STDIN,1024)); echo "Di Tambah: "; $jmlh2=trim(fgets(STDIN,1024)); $jmlhnya = $jmlh1+$jmlh2; echo "Hasil Dari ".$jmlh1."+".$jmlh2." Adalah ".$jmlhnya;
Does anyone know what this function means?
Most probably don’t know. Well, in this post I will not explain a script language function, certain codes and other complicated things.
So I will only share a quick way to create a termux script.
And what is needed in how to create an omcyber version of the termux script is just an accuracy.
OK, here’s the tutorial.
How to Make a Termux Script From Recode
Recode is the process of replacing script data with new data.
For example:
A FB hack script has the following data:
Author : ayipBontos
website: https://termux.id
Well, if I recode the script it will be like this.
Author : Arief Riyanto
website: https://omcyber.com
Or I can also add other data such as wa numbers and YouTube links.
How to recode a termux script?
The most important thing is that we have to find the raw script. The meaning of raw is the full script code that has not been encrypted (secured).
Regular termux scripts will be stored on github or gitlab and some are stored on pastebin.
So we just have to go to the 3 websites and then look for the raw termux script that will be recoded.
You can follow the steps in the following tutorial.
How to make a termux script from recode
- Go to the github.com website
- Write the script name in the github search box
- Choose one from the list of scripts that appear from the search results
- Click the View Code menu
- Look for the main file (usually ending in .py .sh and .php)
- Copy all the codes in the file
- Paste it in notepad and change the data you want to change
-

github search -

copy all digithub script codes
To simplify the editing process (change data) you can run the original termux script first. Then see which data will be changed.
For example, if you want to change the author (name) then just search for the author and then change the existing name to your name.
Tips!
Use a computer or keyboard application that has a ctrl key. Press ctrl+f then write the word you want to search.
Finally, save the script code that you have changed (recoded) with the same extension as the original script (.py .php or .sh).
Well, until here you have succeeded in making a termux script.
How to Run a Termux Script That Has Been Made?
In this case there are 2 options, namely:
- Want to run your own termux script
- Or do you want other people to be able to run the script?
If you want to use a termux script that has been made yourself, you can run it directly using the termux application.
How to first create a file and then enter the script code into the file.
To create a file in termux you can follow the following guide.
How to create a file in termux
- Enter the command pkg install nano -y
- Enter the command nano filename again (example nano hackfb.py)
- Paste the script code in nano editor
- Press ctrl+x then y and enter to save
Then to run the script you can use the command execute filename.
Example :
If your script uses the python language, then the command entered is python filename (example: python hackfb.py)
For php scripts, you can use the command php filename. Likewise with bash, use the command bash filename.
Meanwhile, if the script wants other people to also be able to run it, then just upload it to github.
First you have to create a github account first. Then create a new repository and upload the script file to the repository.
Now, to run the termux script that has been uploaded to github, you must first clone it with the git clone command followed by the github address.
Example :
git clone https://github.com/storiku/darkfb
Information:
my story is the github account name
darkfb is the repository name
Alright, now we’ve learned how to make your own termux script. Very easy right? just recode and you’re done.
But not all scripts on github can be decoded. Usually there is a script that is encrypted (secured). So we have to open the encryption to get the full code of the script.
Well, in my next post, I will discuss how to open termux script security (decompile).
And for those of you who still have difficulties in how to make this termux script, you can just ask through the comments column.