Tutorial | How to make dnstt termux script? | Sokpaaaa!!
Who you fool to accused someone?
The dnstt codes was introduced or shared long time ago and we are just a developer who don't have the right to own for example "DIG" command.
Here is an example tutorial on how to create a similar bash script or other programs, such as a dnstt Termux script, like those posted by other forum users. It can be easily generated using Artificial Intelligence (AI). You can accomplish whatever you want in terms of programming and coding. You do not necessarily need to be a pro to create one.
Step 1:You must understand how AI can generate code based on your concepts or context; that's how AI works. AI can easily comprehend what you are trying to achieve. You should first create a plan for the AI to understand what you are trying to convey. If not, the AI will generate instructions only based on your responses to it.
Step 2: Use a premium program code generator AI to avoid fragmented conversations.
Step 3: Execute your plan.
In my case, this is what I used to do to have a conversation with AI:
a) Provide contextual instructions for AI to generate the same functionality, logic, and algorithms.
The featured function of the dnstt Termux script that uses "DIG" command:
function dns_testing
Contextual instruction for AI:
Generate a bash function ccode that achieve according to this context:
1. It resets certain files and variables used for DNS testing.
2. It reads DNS entries, NS (Name Server) entries, and sleep time from specific files.
3. It checks if the necessary files are available and not empty.
4. It iterates over the IP ranges defined in the DNS entries file and over the NS records.
5. For each combination of DNS IP and NS record, it sends a DNS query using the
6. It captures and analyzes the response to determine success or failure of the DNS query.
7. It logs the results, including success or failure, query time, and other details.
8. It handles scenarios like duplicates and timestamps.
9. It displays the testing results - number of tests, successes, failures, and duplicates.
10. Finally, it prompts the user to return to the main menu.
A.I. generated bash code:
b) The AI can generate code with properly contextualized instructions to achieve the exact output that you want.
The main menu function of the dnstt Termux script:
To accomplish the
For example:
1. Initialization:
- It checks if certain files (
- It initializes variables (
2. Display Menu:
- It clears the screen and displays a header with the script version.
- It shows the current number of DNS records (
- It presents a list of options for the user to choose from in the menu:
- [1] DNS
- [2] Nameserver
- [3] Set sleep time
- [4] Start query testing
- [5] About
- [0] Exit
3. Advanced Feature:
- If a specific file (
4. User Interaction:
- The menu allows the user to interact with the script by selecting different options to perform actions related to DNS management, setting sleep time, and querying testing.
A.I. generated bash code:
Base on these simplified examples, you can modify the generated codes according to your plans.
And continue to generate the rest of function remains on "menu".
Now, if these examples are enough for you to understand the concept of how to create a program based on your plan and achieve it using AI-generated code, you can start creating your own as well, or you could do same with other codes creator or poster.
Stay tuned for the next tutorial update...
Thank you, guys.
Thief? Don't be fooled, t.a.n.g.a lang ang nagpapaloko.
Who you fool to accused someone?
The dnstt codes was introduced or shared long time ago and we are just a developer who don't have the right to own for example "DIG" command.
Here is an example tutorial on how to create a similar bash script or other programs, such as a dnstt Termux script, like those posted by other forum users. It can be easily generated using Artificial Intelligence (AI). You can accomplish whatever you want in terms of programming and coding. You do not necessarily need to be a pro to create one.
Step 1:You must understand how AI can generate code based on your concepts or context; that's how AI works. AI can easily comprehend what you are trying to achieve. You should first create a plan for the AI to understand what you are trying to convey. If not, the AI will generate instructions only based on your responses to it.
Step 2: Use a premium program code generator AI to avoid fragmented conversations.
Step 3: Execute your plan.
In my case, this is what I used to do to have a conversation with AI:
a) Provide contextual instructions for AI to generate the same functionality, logic, and algorithms.
The featured function of the dnstt Termux script that uses "DIG" command:
function dns_testing
Contextual instruction for AI:
Generate a bash function ccode that achieve according to this context:
1. It resets certain files and variables used for DNS testing.
2. It reads DNS entries, NS (Name Server) entries, and sleep time from specific files.
3. It checks if the necessary files are available and not empty.
4. It iterates over the IP ranges defined in the DNS entries file and over the NS records.
5. For each combination of DNS IP and NS record, it sends a DNS query using the
dig command.6. It captures and analyzes the response to determine success or failure of the DNS query.
7. It logs the results, including success or failure, query time, and other details.
8. It handles scenarios like duplicates and timestamps.
9. It displays the testing results - number of tests, successes, failures, and duplicates.
10. Finally, it prompts the user to return to the main menu.
A.I. generated bash code:
Code:
dns_testing() {
# Reset files and variables
> dns_entries.txt
> ns_entries.txt
> results.txt
# Check if necessary files exist and are not empty
if [ ! -s dns_entries.txt ] || [ ! -s ns_entries.txt ]; then
echo "Error: DNS entries or NS entries file missing or empty."
return
fi
# Read DNS entries, NS entries, and sleep time from files
readarray -t dns_ips < dns_entries.txt
readarray -t ns_records < ns_entries.txt
sleep_time=$(<sleep_time.txt)
num_tests=0
successes=0
failures=0
duplicates=0
# Iterate over DNS IPs and NS records
for dns_ip in "${dns_ips[@]}"; do
for ns_record in "${ns_records[@]}"; do
output=$(dig @$dns_ip $ns_record)
query_time=$(echo "$output" | grep 'Query time' | awk '{print $4}')
# Analyze response and log results
if [[ $output == *"ANSWER SECTION"* ]]; then
((successes++))
echo "$(date) - Success: Query time $query_time ms" >> results.txt
else
((failures++))
echo "$(date) - Failure: Query time $query_time ms" >> results.txt
fi
((num_tests++))
done
done
# Display testing results
echo "Total tests: $num_tests"
echo "Successes: $successes"
echo "Failures: $failures"
echo "Duplicates: $duplicates"
echo "DNS query testing completed. Return to main menu."
}
# Call the function to test.
dns_testing
b) The AI can generate code with properly contextualized instructions to achieve the exact output that you want.
The main menu function of the dnstt Termux script:
To accomplish the
menu() function, you need to provide contextualized instructions for the AI.For example:
1. Initialization:
- It checks if certain files (
$dns, $ns, $time) exist, and creates them if they don't.- It initializes variables (
dns, ns, a, b, c) used for managing DNS information and sleep time.2. Display Menu:
- It clears the screen and displays a header with the script version.
- It shows the current number of DNS records (
a), nameserver records (b), and sleep time (c).- It presents a list of options for the user to choose from in the menu:
- [1] DNS
- [2] Nameserver
- [3] Set sleep time
- [4] Start query testing
- [5] About
- [0] Exit
3. Advanced Feature:
- If a specific file (
../usr/bin/p) exists, it adds an additional option for DNS scan advanced functionality.4. User Interaction:
- The menu allows the user to interact with the script by selecting different options to perform actions related to DNS management, setting sleep time, and querying testing.
A.I. generated bash code:
Code:
# Check and create necessary files
dns="dns.txt"
ns="nameserver.txt"
time="sleep_time.txt"
touch $dns $ns $time
# Initialize variables
a=$(wc -l < $dns)
b=$(wc -l < $ns)
c=$(cat $time)
# Display menu
clear
echo "DNS Management Script v1.0"
echo "========================="
echo "Current DNS records: $a"
echo "Current Nameserver records: $b"
echo "Current Sleep time: $c"
echo ""
echo "Menu Options:"
echo "[1] DNS"
echo "[2] Nameserver"
echo "[3] Set sleep time"
echo "[4] Start query testing"
echo "[5] About"
echo "[0] Exit"
# Check for advanced feature
if [ -f "../usr/bin/p" ]; then
echo "[6] Advanced DNS scan"
fi
# User input handling
read -p "Enter your choice: " choice
case $choice in
1)
# Handle DNS option
echo "DNS option selected"
;;
2)
# Handle Nameserver option
echo "Nameserver option selected"
;;
3)
# Handle Set sleep time option
echo "Set sleep time option selected"
;;
4)
# Handle Start query testing option
echo "Start query testing option selected"
;;
5)
# Handle About option
echo "About option selected"
;;
6)
if [ -f "../usr/bin/p" ]; then
# Handle Advanced DNS scan option
echo "Advanced DNS scan option selected"
fi
;;
0)
# Exit the script
echo "Exiting..."
exit 0
;;
*)
# Invalid choice
echo "Invalid choice. Please select a valid option."
;;
esac
Base on these simplified examples, you can modify the generated codes according to your plans.
And continue to generate the rest of function remains on "menu".
Now, if these examples are enough for you to understand the concept of how to create a program based on your plan and achieve it using AI-generated code, you can start creating your own as well, or you could do same with other codes creator or poster.
Stay tuned for the next tutorial update...
Thank you, guys.
Thief? Don't be fooled, t.a.n.g.a lang ang nagpapaloko.



kako Left conversation.
Love u bati na kayo un lang
