UNDERCODE COMMUNITY
2.68K subscribers
1.23K photos
31 videos
2.65K files
80.3K links
๐Ÿฆ‘ Undercode Cyber World!
@UndercodeCommunity


1๏ธโƒฃ World first platform which Collect & Analyzes every New hacking method.
+ AI Pratice
@Undercode_Testing

2๏ธโƒฃ Cyber & Tech NEWS:
@Undercode_News

3๏ธโƒฃ CVE @Daily_CVE

โœจ Web & Services:
โ†’ Undercode.help
Download Telegram
โ– โ–‚ โ–„ ๏ฝ•๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–

๐Ÿฆ‘How to Display actual PostgreSQL queries
t.me/UndercOdeTesting

๐Ÿฆ‘ ๐•ƒ๐”ผ๐•‹๐•Š ๐•Š๐•‹๐”ธโ„๐•‹ :

1) Display the actual queries generated by \ d and other backslash commands.

2) You can use this to examine PSQL internal operations.
This is equivalent to including the ECHO_HIDDEN variable

> \set ECHO_HIDDEN

๐Ÿฆ‘Output :

postgres=# \l
*****
QUERY ******
SELECT d.datname as "Name",
pg_catalog.pg_get_userbyid(d.datdba) as "Owner",
pg_catalog.pg_encoding_to_char(d.encoding) as "Encoding",
d.datcollate as "Collate",
d.datctype as "Ctype",
pg_catalog.array_to_string(d.datacl, E'\n') AS "Access privileges"
FROM pg_catalog.pg_database d
ORDER BY 1;
**********************

List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
-----------+----------+----------+-------------+-------------+-----------------------
postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
(3 rows)


Written by UndercOde
โ– โ–‚ โ–„ ๏ฝ•๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–
โ– โ–‚ โ–„ ๏ฝ•๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–

๐Ÿฆ‘How to Add a New Hard Drive to FreeBSD
Fb.com/UndercOdeTestingCompany

๐Ÿฆ‘ ๐•ƒ๐”ผ๐•‹๐•Š ๐•Š๐•‹๐”ธโ„๐•‹ :

1) We have a hard drive defined as:
/ dev / sdb1

2) Delete existing sdb1 disk
layout : gpart destroy -F sdb1

3) Create a new gpt sdb1 disk
layout : gpart create -s gpt / dev / sdb1

4) Example of creating swap and fs with ufs:
gpart add -t freebsd-swap -s 1048576 / dev / sdb1
gpart add -t freebsd-ufs / dev / sdb1

5) Create ufs fs on the second created partition:
newfs -U / dev / sdb1p2

6) Add lines to mount on / etc / fstab when loading the
OS : / dev / sdb1p1 none swap sw 0 0
/ dev / sdb1p2 / mnt ufs rw 2 2

7) We connect on the fly ufs section:
mount -a

8) We connect swap section on the fly:
swapon / dev / sdb1p1

Written by UndercOde
โ– โ–‚ โ–„ ๏ฝ•๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–
โ– โ–‚ โ–„ ๏ฝ•๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–

๐Ÿฆ‘Speeding internet :

>Cisco CEF and Address Forgery
Enabling CEF Switching (Cisco Express Forwarding (CEF) is a high-speed packet routing / switching technology used in high-performance Layer 3 switches that allows faster and more efficient traffic processing.)
t.me/UndercodeTesting

๐Ÿฆ‘ ๐•ƒ๐”ผ๐•‹๐•Š ๐•Š๐•‹๐”ธโ„๐•‹ :

1) r1 (config) #ip cef

2) Set the reverse route check on the interface:
r1 (config) #interface fastEthernet 1/0
r1 (config-if) #ip verify unicast reverse-path

3) show ip cef - displays data in the FIB

4) Show ip cef detail displays the details of each FIB element

5) Show ip cef summary - displays general statistics of FIB elements

6) Use the show cef interface x / x command to find out if the "IP CEF switching enabled,"
or "IP distributed CEF (dCEF) switching enabled."

Written by Undercode
โ– โ–‚ โ–„ ๏ฝ•๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–
โ– โ–‚ โ–„ ๏ฝ•๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–

๐Ÿฆ‘Terminal File Manager (Android-Termux) Topic 2020
t.me/UndercOdeTesting

๐Ÿฆ‘๐•€โ„•๐•Š๐•‹๐”ธ๐•ƒ๐•ƒ๐•€๐•Š๐”ธ๐•‹๐•€๐•†โ„• & โ„๐•Œโ„•:


1) Install the utilities you may need based on your regular workflows.
> https://github.com/jarun/nnn#utility-dependencies

2) Configure cd on quit.
>https://github.com/jarun/nnn/wiki/Basic-use-cases#configure-cd-on-quit

3) To open text files in $VISUAL (else $EDITOR, fallback vi) add program option -e in your alias.

4) For additional functionality install plugins.
>https://github.com/jarun/nnn/tree/master/plugins#installing-plugins

5) To copy selected file paths to system clipboard and show notis on cp, mv, rm completion use option -x.

6) For a strictly CLI environment, customize and use plugin nuke.
> https://github.com/jarun/nnn/blob/master/plugins/nuke

๐Ÿฆ‘fOR UBANTO :

1) Download the latest stable release or clone this repository (risky), install deps and compile. On Ubuntu 18.04:

$ sudo apt-get install pkg-config libncursesw5-dev libreadline-dev
$ sudo make strip install

2) To compile without libreadline:

$ sudo apt-get install pkg-config libncursesw5-dev
$ sudo make O_NORL=1 strip install

PREFIX is supported, in case you want to install to a different location.

WRITTEN BY UNDERCODE
โ– โ–‚ โ–„ ๏ฝ•๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–
โ– โ–‚ โ–„ ๏ฝ•๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–


๐Ÿฆ‘ How Get Asterisk on Debian ? by undercOde part 1
Procedure for installing Asterisk on Debian Squeeze.
Instagram.com/UndercOdeTestingCompany

๐Ÿฆ‘ ๐•ƒ๐”ผ๐•‹๐•Š ๐•Š๐•‹๐”ธโ„๐•‹ :

1) Installing the system, Debian Squeeze (x86). Next, we perform all actions from under root.

2) After installation, configure the network by configuring the / etc / network / interfaces file.

3) Install mc: aptitude install โ€“y mc

4) We install the packages necessary for the normal functioning of asterisk: aptitude install โ€“y flex, bison, g ++, libncurses5-dev, doxogen, unixodbc, build-essential, libxml2-dev, libsqlite3-dev, kernel-package, linux-headers-2.6.32- 5-686

5) Download from sourceforge raw pwlib-1.10.0.tar.gz and openh323-1.18.0.tar.gz, from asterisk.org - asterisk-1.8.5.0.tar.gz, from asterisk.ru - libpri-1.4.12. tar.gz, dahdi-linux-complete-2.5.0 + 2.5.0.tar.gz and codecs g723 / g729 - codec_g723-ast18-gcc4-glibc-core2.so and codec_g729-ast18-gcc4-glibc-core2.so and drop it all into the / usr / src / folder (codecs can be downloaded here: http://asterisk.lv/codecs )

6) Create a link: ln โ€“s /usr/src/linux-headers-2.6.32-5-common/include/linux/compiler.h /usr/include/linux/compiler.h

7) Build pwlib:
Unpack pwlib-1.10.0.tar.gz: tar โ€“zxvf pwlib-1.10.0.tar.gz

8) n go to the resulting folder: cd / usr / src / pwlib_v1_10_0
Run ./configure, then make clean opt and finally make install

9) Build openh323:
> Unpack openh323-1.18.0.tar.gz: tar โ€“zxvf openh323-1.18.0.tar.gz

10) We go to the resulting folder: cd / usr / src / openh323_v1_18_0

11) We write: export PWLIBDIR = / usr / src / pwlib_v1_10_0

12) Run ./configure, then make clean opt and finally make install
Build and install libpri:

13) Unpack libpri-1.4.12.tar.gz: tar โ€“zxvf libpri-1.4.12.tar.gz

14) Go to the resulting folder: cd /usr/src/libpri-1.4.12
Perform make and make install

15 )Build and install dahdi-linux:
Unpack dahdi-linux-complete-2.6.0.tar.gz: tar โ€“zxvf dahdi-linux-complete-2.6.0

16) Go to the resulting folder: cd / usr / src / dahdi-linux-complete-2.6.0
Successively execute: make all, make install, make config

17) put asterisk. Unpack asterisk-1.8.5.0.tar.gz: tar โ€“zxvf asterisk-1.8.5.0.tar.gz, then go to /usr/src/asterisk-1.8.5.0/main
To prevent DTMF distortion during a callback from asterisk, open the dsp.c file for editing, find the line โ€œstatic const float dtmf_rowโ€ and โ€œstatic const float dtmf_colโ€ there and bring them to the following form:


Written by Undercode
โ– โ–‚ โ–„ ๏ฝ•๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–
โ– โ–‚ โ–„ ๏ฝ•๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–

๐Ÿฆ‘ Part 2 configure Asterisk on android:
fb.com/UndercOdeTestingCompany

๐Ÿฆ‘ ๐•ƒ๐”ผ๐•‹๐•Š ๐•Š๐•‹๐”ธโ„๐•‹ :

static const float dtmf_row [] =


732.0, 809.0, 894.0, 988.0

/ * 697.0, 770.0, 852.0, 941.0 * /


static const float dtmf_col [] =

{

1270.0, 1404.0, 1551.0, 1715.0

/ * 1209.0, 1336.0, 1477.0, 1633.0 * /


Go back to /usr/src/asterisk-1.8.5.0 and start building asterisk. We write:
export PWLIBDIR = / usr / src / pwlib_v1_10_0

and

export OPENH323DIR = / usr / src / openh323_v1_18_0

๐Ÿฆ‘ Then do ./configure, make menuselect (if necessary, you can also select the ooh323 protocol there), make and make install
At the end of the compiler, run make samples and make config. You can optionally run make progdocs.

> Now go into / usr / lib / asterisk / modules and copy the codec_g723-ast18-gcc4-glibc-core2.so and codec_g729-ast18-gcc4-glibc-core2.so files there with renaming them to codec_g723.so and codec_g729.so respectively. It all depends on the version of the C compiler (gcc or something else) and the processor model. In this example, the C compiler version is gcc4, and the processor model is Intel Core 2 Duo.

> Next, go to / etc / asterisk, open the codecs.conf file for editing, disable vbr (vbr => false) and vad (vad => false), add a section at the end of the file to enable support for 723 codecs:

; 6.3 Kbps stream default


; 5.3 Kbps stream default

; sendrate = 53

๐Ÿฆ‘ Now asterisk is ready, you can run it with the asterisk command, you can connect to the asterisk console with the command asterisk

WRITTEN BY UNDERCODE
โ– โ–‚ โ–„ ๏ฝ•๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–
T.me/UndercOdeTesting

# SUPPORT & SHARE
๐Ÿฆ‘ WHATSAPP SERVER IS GOING DOWN AGAIN IN WorldWide :
Error Starting on 19/1
Ending on
20/1/2020


# ERROR DESCRIPTION : NO VOICE NO CALLS NO PICTURES
Whatsapp now in maintenance services, New security patches will come soon
> Vpn not help

> deleting your whatsapp risking lost your number for 1 day (no verify option)

> If you have any old banned number
Send to whatsapp Now Mail :
@Support.whatsapp.com

Then you gain a high risk for Unblocking Your number
Whatsapp problems success now with tempory fix
โ– โ–‚ โ–„ ๏ฝ•๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–

๐Ÿฆ‘Terminal File Manager (Android-Termux) Topic 2020
t.me/UndercOdeTesting

๐Ÿฆ‘๐•€โ„•๐•Š๐•‹๐”ธ๐•ƒ๐•ƒ๐•€๐•Š๐”ธ๐•‹๐•€๐•†โ„• & โ„๐•Œโ„•:


1) Install the utilities you may need based on your regular workflows.
> https://github.com/jarun/nnn#utility-dependencies

2) Configure cd on quit.
>https://github.com/jarun/nnn/wiki/Basic-use-cases#configure-cd-on-quit

3) To open text files in $VISUAL (else $EDITOR, fallback vi) add program option -e in your alias.

4) For additional functionality install plugins.
>https://github.com/jarun/nnn/tree/master/plugins#installing-plugins

5) To copy selected file paths to system clipboard and show notis on cp, mv, rm completion use option -x.

6) For a strictly CLI environment, customize and use plugin nuke.
> https://github.com/jarun/nnn/blob/master/plugins/nuke

๐Ÿฆ‘fOR UBANTO :

1) Download the latest stable release or clone this repository (risky), install deps and compile. On Ubuntu 18.04:

$ sudo apt-get install pkg-config libncursesw5-dev libreadline-dev
$ sudo make strip install

2) To compile without libreadline:

$ sudo apt-get install pkg-config libncursesw5-dev
$ sudo make O_NORL=1 strip install

PREFIX is supported, in case you want to install to a different location.

WRITTEN BY UNDERCODE
โ– โ–‚ โ–„ ๏ฝ•๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–
โ– โ–‚ โ–„ ๏ฝ•๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–

๐Ÿฆ‘WMI .NET COM
Let's look at the beginning of the list of WMI classes to understand what you can work with by UndercOde :
T.me/UndercOdeTesting

๐Ÿฆ‘๐•€โ„•๐•Š๐•‹๐”ธ๐•ƒ๐•ƒ๐•€๐•Š๐”ธ๐•‹๐•€๐•†โ„• & โ„๐•Œโ„•:

1) PS C: Windowssystem32> Get-WmiObject -list

> For example, let's choose a class like win32_OperatingSystem:

> PS C: Windowssystem32> Get-WmiObject win32_operatingSystem

2) SystemDirectory: C: Windowssystem32


3) Now let's see what's under the hood of this class (the output is shortened):

4) PS C: Windowssystem32> Get-WmiObject win32_operatingSystem | Get-member

5) TypeName: System.Management.ManagementObject # rootcimv2Win32_OperatingSystem

๐Ÿฆ‘ Example Name MemberType Definition
โ€”- โ€”โ€”โ€”โ€”- โ€”โ€”โ€”-
Reboot Method System.Management.ManagementBaseObject Reboot ()
SetDateTime Method System.Management.ManagementBaseObject SetDateTime (System.St
Shutdown Method System.Management.ManagementBaseObject Shutdown ()
Win32Shutdown Method System.Management.ManagementBaseObject Win32Shutdown (System.
Win32ShutdownTracker Method System.Management.ManagementBaseObject Win32ShutdownTracker (
BootDevice Property System.String BootDevice {get; set;}
BuildNumber Property System.String BuildNumber {get; set;}
BuildType Property System.String BuildType {get; set;}
Caption Property System.String Caption {get; set;}
CodeSet Property System.String CodeSet {get; set;}

๐Ÿฆ‘ And output some property:

PS C: Windowssystem32> Get-WmiObject win32_operatingSystem | Format-List -property BuildType

BuildType: Multiprocessor Free

For starters, everything is very clear and simple. Move on:
For example, you can rename the computer in this way ...

(Get-Wmiobject -Class win32_computersystem -ComputerName job) .Rename ("home")

> The Rename () method I watched from the output (Get-Wmiobject -Class win32_computersystem -ComputerName job) | Get-member


> WSH objects can be created by defining the following program identifiers: WScript.Shell , WScript.Network , Scripting.Dictionary, and Scripting.FileSystemObject .

๐Ÿฆ‘ These objects are created by the following commands:

New-Object -ComObject WScript.Shell New-Object -ComObject WScript.Network
For example, connect a network printer:
PS C: Windowssystem32> $ wshell = New-Object -comobject wscript.network
PS C: Windowssystem32> $ wshell | Get-member

TypeName: System .__ ComObject # {24be5a31-edfe-11d2-b933-00104b365c9f}

Name MemberType Definition

AddPrinterConnection Method void AddPrinterConnection (string, string, Variant, Variant, Variant)
AddWindowsPrinterConnection Method void AddWindowsPrinterConnection (string, string, string)
EnumNetworkDrives Method IWshCollection EnumNetworkDrives ()
EnumPrinterConnections Method IWshCollection EnumPrinterConnections ()
MapNetworkDrive Method void MapNetworkDrive (string, string, Variant, Variant, Variant)
RemoveNetworkDrive Method void RemoveNetworkDrive (string, Variant, Variant)
RemovePrinterConnection Method void RemovePrinterConnection (string, Variant, Variant)
SetDefaultPrinter Method void SetDefaultPrinter (string)
ComputerName Property string ComputerName () {get}
Organization Property string Organization () {get}
Site Property string Site () {get}
PS C: Windowssystem32> $ wshell.AddWindowsPrinterConnection ("\ serverHP LaserJet M5035 MFP PCL 6")

WRITTEN BY UNDERCODE
โ– โ–‚ โ–„ ๏ฝ•๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–
โ– โ–‚ โ–„ ๏ฝ•๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–

๐Ÿฆ‘ How Use AJAX and PHP to create a simple file loader with the ability to add multiple files at once by UndercOde:
t.me/UndercOdeTesting

๐Ÿฆ‘ ๐•ƒ๐”ผ๐•‹๐•Š ๐•Š๐•‹๐”ธโ„๐•‹ :

1) What you need: AJAX connected library .

2) The code is simple in one file:

<?php
if($_FILES){
foreach ($_FILES as $key => $value) {
move_uploaded_file( $value['tmp_name'], "./upload/".mb_convert_encoding( $value['name'], "Windows-1251", "utf-8" ) );
echo "<br /><b>ะ—ะฐะณั€ัƒะถะตะฝ: ".$value['name']."</b><br />";
}
}else{
echo "
<html>
<head>
<title>Rambo</title>
<meta charset='utf-8' />
<script src='/rambo/jquery.js' type='text/javascript'></script>
<script>
$(document).ready(function(){
$('#file').bind('change', function(){
var data = new FormData();
jQuery.each($('#file')[0].files, function(i, file) { data.append('file-'+i, file); });
$.ajax({
url: 'index.php',
data: data,
cache: false,
contentType: false,
processData: false,
type: 'POST',
success: function(data){
$('#info').html(data);
}
});
})
});
</script>
</head>
<body>
<h2>ะ”ะพะฑะฐะฒะธั‚ัŒ ั„ะฐะนะปั‹</h2>
<form action='' enctype='multipart/form-data' method='POST'>
<input id='file' type='file' multiple='multiple' name='file[]' />
<div id='info'></div>
</form>
</body>
</html>
";
}
?>

WRITTEN BY UNDERCODE
โ– โ–‚ โ–„ ๏ฝ•๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–
โ– โ–‚ โ–„ ๏ฝ•๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–

๐Ÿฆ‘How Migrating a virtual machine from VMWare ESX to Hyper-V
The task is as follows: migrate a virtual machine from VMWare ESX to Hyper-V :
fb.com/UndercodeTestingCompany

๐Ÿฆ‘๐•€โ„•๐•Š๐•‹๐”ธ๐•ƒ๐•ƒ๐•€๐•Š๐”ธ๐•‹๐•€๐•†โ„• & โ„๐•Œโ„•:

1) Used old versions of VMWare and Hyper-V for stabilty issue
For this task, we need a free utility V @ VConverter
> https://www.starwindsoftware.com/starwind-v2v-converter

And the actions are as follows:

1) For example, download files of a virtual machine disk with VMWare in vmdk format onto a hard disk

2) using V @ VConverter, we transfer the file to vhd format

3) We put the file for example on a disk with Hyper-V

4) We create a new Hyper-V virtual machine , but on the "virtual disk" tab we do not create a new one, but connect the necessary one.

Everything is ready, you can run!

WRITTEN BY UNDERCODE
โ– โ–‚ โ–„ ๏ฝ•๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–
โ– โ–‚ โ–„ ๏ฝ•๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–

๐Ÿฆ‘IIS: web.config substitute page for error PART 1
>t.me/UndercOdeTesting

๐Ÿฆ‘ ๐•ƒ๐”ผ๐•‹๐•Š ๐•Š๐•‹๐”ธโ„๐•‹ :

1) It is very simple to substitute any page for the place of the error.

> For example, we need IIS to display a 404.htm page instead of a standard 404 error

2) We go to the site folder, for example: C: \ inetpub \ wwwroot \ your_site

> Throw in there 404.htm

3) In the Web.config file we find the <system.web> section , and add a piece of the type to it:

<system.web>
<httpRuntime maxRequestLength="1048576" executionTimeout="3600" />
<compilation debug="true" targetFramework="4.6.1" />
<customErrors mode="On">
<error statusCode="404" redirect="~/404.htm"/>
</customErrors>

WRITTEN BY UNDERCODE
โ– โ–‚ โ–„ ๏ฝ•๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–
โ– โ–‚ โ–„ ๏ฝ•๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–

๐Ÿฆ‘BASH Tutorial Full by UndercOde PART 1 :
t.me/UndercOdeTesting

๐Ÿฆ‘ ๐•ƒ๐”ผ๐•‹๐•Š ๐•Š๐•‹๐”ธโ„๐•‹ :

Scripts in the bash begin with the instructions of the interpreter:

#! / usr / local / bin / bash

To find out where bash is located , use the command:

which bash

You can make the script executable by adding rights:

chmod + x test.sh

Comments begin with the symbol - #

An example of writing a simple script:



cd / home / user



vi test.sh

#! / usr / local / bin / bash

# This is first script

echo "This is echo line"



chmod + x test.sh





Launch Options:

./test.sh

This is echo line



bash ./test.sh

This is echo line



Debug start option:

bash -x ./test.sh

+ echo ' This is echo line '





Use to debug option -x
In large and unfamiliar scripts, it is priceless

Add the simplest function:

#! / usr / local / bin / bash

# This is first script

echo "This is echo line"

๐Ÿฆ‘In this script, we will make a couple of functions:

cat test.sh

#! / usr / local / bin / bash

# Does not accept arguments

function echo_ text ( )

{

echo "This is echo line"

}



# Accepts arguments, displays them

function echo_text_ args ( )

{

echo "This is echo linei args : $ 1 $ 2"
}

# Call functions

echo_text

echo_text_args "1_arg" "2_arg"

echo_text_args $ 1 $ 2

๐Ÿฆ‘ Calling a script with and without arguments:

./test.sh

This is echo line

This is echo linei args : 1_arg 2_arg

This is echo linei args :

./test.sh 1_global_arg 2_global_arg

This is echo line

This is echo linei args : 1_arg 2_arg

This is echo linei args : 1_global_arg 2_global_arg

As you can see, the argument names in the script are the same, the result is different

Globally and locally in a function, these are different variables.

WRITTEN BY UNDERCODE
โ– โ–‚ โ–„ ๏ฝ•๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–
โ– โ–‚ โ–„ ๏ฝ•๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–

๐Ÿฆ‘A Great Hacker Build His Own Custom Apps So :
> To Build Your Own Termux You need those Official Packages :
t.me/UndercOdetesting

๐Ÿฆ‘ ๐•ƒ๐”ผ๐•‹๐•Š ๐•Š๐•‹๐”ธโ„๐•‹ :

1) This project contains scripts and patches to build packages for the Termux Android application.

2) The pakages available here are only from main set. We have some additional repositories:

a) https://github.com/termux/game-packages

b) Game packages, e.g. angband or moon-buggy.

https://github.com/termux/science-packages

c) Science-related packages like gap and gnucap.

https://github.com/termux/termux-root-packages

d) Packages which can be used only on rooted devices. Some stuff available here requires custom kernel (like aircrack-ng or lxc).

https://github.com/termux/unstable-packages

e) Staging repository. Packages that are not stable are only available here.Most likely, new packages will also be placed here.

https://github.com/termux/x11-packages

f) Packages that require X11 Windows System.

WRITTEN BY UNDERCODE
โ– โ–‚ โ–„ ๏ฝ•๐•Ÿ๐”ปโ’บ๐ซฤ†๐”ฌ๐““โ“” โ–„ โ–‚ โ–