๐ฆ CHOOSE OPTION :
Final Results
29%
TERMUX SCRIPTS
22%
LINUX SCRIPTS
14%
HACKING LESSONS
4%
PROGRAMMING LANGUAGES
27%
CARDING & ACCOUNTS
4%
OTHERS...
โ โ โ ๏ฝ๐๐ปโบ๐ซฤ๐ฌ๐โ โ โ โ
๐ฆ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 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
โ โ โ ๏ฝ๐๐ปโบ๐ซฤ๐ฌ๐โ โ โ โ
๐ฆ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
โ โ โ ๏ฝ๐๐ปโบ๐ซฤ๐ฌ๐โ โ โ โ
๐ฆ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
โ โ โ ๏ฝ๐๐ปโบ๐ซฤ๐ฌ๐โ โ โ โ
๐ฆ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
โ โ โ ๏ฝ๐๐ปโบ๐ซฤ๐ฌ๐โ โ โ โ
๐ฆ 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
โ โ โ ๏ฝ๐๐ปโบ๐ซฤ๐ฌ๐โ โ โ โ
๐ฆ 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
โ โ โ ๏ฝ๐๐ปโบ๐ซฤ๐ฌ๐โ โ โ โ
๐ฆ 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
Error Starting on 19/1
Ending on
20/1/2020
# ERROR DESCRIPTION : NO VOICE NO CALLS NO PICTURES
> 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
> 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
โ โ โ ๏ฝ๐๐ปโบ๐ซฤ๐ฌ๐โ โ โ โ
๐ฆ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
โ โ โ ๏ฝ๐๐ปโบ๐ซฤ๐ฌ๐โ โ โ โ
๐ฆ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 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
โ โ โ ๏ฝ๐๐ปโบ๐ซฤ๐ฌ๐โ โ โ โ
๐ฆ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
โ โ โ ๏ฝ๐๐ปโบ๐ซฤ๐ฌ๐โ โ โ โ
Facebook
UndercOde Testing Company
UndercOde Testing Company. 94 likes ยท 6 talking about this. Local service
โ โ โ ๏ฝ๐๐ปโบ๐ซฤ๐ฌ๐โ โ โ โ
๐ฆ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
โ โ โ ๏ฝ๐๐ปโบ๐ซฤ๐ฌ๐โ โ โ โ
๐ฆ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
โ โ โ ๏ฝ๐๐ปโบ๐ซฤ๐ฌ๐โ โ โ โ
๐ฆ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
โ โ โ ๏ฝ๐๐ปโบ๐ซฤ๐ฌ๐โ โ โ โ
๐ฆ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
โ โ โ ๏ฝ๐๐ปโบ๐ซฤ๐ฌ๐โ โ โ โ