UNDERCODE COMMUNITY
2.67K subscribers
1.23K photos
31 videos
2.65K files
79.9K links
πŸ¦‘ Undercode Cyber World!
@UndercodeCommunity


1️⃣ World first platform which Collect & Analyzes every New hacking method.
+ AI Pratice
@Undercode_Testing

2️⃣ Cyber & Tech NEWS:
@Undercode_News

3️⃣ CVE @Daily_CVE

✨ Web & Services:
β†’ Undercode.help
Download Telegram
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁

πŸ¦‘ Network configuration-the arrival of home network full by Undercode
t.me/UndercodeTesting

πŸ¦‘ π•ƒπ”Όπ•‹π•Š π•Šπ•‹π”Έβ„π•‹ :

1) today, those of us who have spare money (sometimes Need very much (More) people started to try to network interactive housing. In the new housing, 10BaseT or even 100 trillion 100BaseT RJ-45 sockets will be everywhere like telephone sockets.

2) Home network also has some disadvantages. First, we do n’t have a technical department at home Support. In addition, network hardware and software may be expensive. Therefore, the advantages of the network must be removed from the cost of installation and maintenance.


πŸ¦‘ Choose a network solution

1) Let's examine the possible solutions suitable for home networks. It should be pointed out that the PC industry is mature, and a variety of network options are increasing. They range from simple plug-and-play printer sharing networks to firewall protection and server support. Intranet.

2) Generally speaking, the more powerful the network, the higher the cost and management complexity, and the correct method is to always select the network with the functions you need. Common home operating systems and two uncommon network solutions-Linux and Microsoft NT:

πŸ¦‘ Linux Unix NT Win95 Mac OS / 2

1) Printer services xxxxxx
File server / sharing x * * * * *
Mail server x * * *--
Domain Name Server xx * * * *
Web Server xx * * * *
Firewall x * * *--
Routing xxx---
Gateway xxx---
Internet xxxxxx
Ethernet xxxxxx
Token Ring x * * * * *
Arcnet x * * * * *
Framerelay x * *---
ISDN x * * *--
PPP xxxxxx
SLIP xxxxxx
TCP / IP xxxxxx
X.25 x * * * * *
IPX (Novell Netware) xxxx * *
SMB (Windows network) xxxx * *
Appletalk x * * * x *
NFS xx * * * *


πŸ¦‘ x Supported by the system itself
* Need additional support
-not supported

2) After comparison of chart functions, some systems have been disregarded. If you are not using this It ’s a pity, but it ’s best to discuss with the OEM, since even they all recommend you to replace it. In addition, all kinds of UNIX are included in a UNIX column, except Linux.

3) Linux started in 1991 and is different from other Unix on several important issues. Linux is a clone of Unix, drafted by Linus Torvalds and assisted by a loosely integrated development team on the Internet.

4) Linux is (and will always be) Free software, with very few restrictions (see GNU's General Public License), has grown into a full-fledged high-performance Unix, originally based on Inter 386, and is now suitable for more systems than any other operating system. Linux is not The only Unix-like free software, but it currently seems to have the best support. He can get good support from the online development team, there are a lot of documents in the form of HOWTO files, FAQ files and Unix help files, and can be online Freely available. A Linux package with an operating system and other full-featured software can be purchased for a CD for less than $ 30 or downloaded for free from the Internet.

5) For file services, printing services, mail services, gateways and routing, use Linux or even Only one 386 can be efficiently implemented. Linux is extremely robust, and many Linux in the world and its operation will not crash or restart for a year. I do n’t believe any Windows or Macintosh product can Do it.

6) Windows NT, the network-oriented operating system provided by Microsoft, was also born in 1991. To get all the features listed above will easily cost you more than $ 1,000. It has good support, and to replace Unix as online He will consider implementing it on various systems. At present, it has not provided complete network functions like Unix or Linux, but it will be done soon. There is no doubt that the prospect of NT with the support of Microsoft is bright. .
7) Unix is ​​of course an excellent network system. In fact, Unix is ​​the "war horse" of the Internet. All Internet-based protocols and services are developed on Unix. Due to the maturity of Unix, it has passed the growth that NT is now experiencing Pain, such as security or crash issues. Although many years ago it was predicted that the role of Unix will gradually decline, it is still steadily increasing. Before Linux, there was no affordable Unix for home use. It has the functions listed above Unix generally costs at least $ 2,000, and the complexity of Unix prevents its widespread use, only for universities and large commercial companies.

πŸ¦‘WAHT ABOUT WINDOWS ?

1) win 10., Windows 95, Macintosh, and OS / 2 also provide certain network functions and use additional software It can also provide functions such as print services, file services, mail services, name services, firewalls and web servers. None of them are designed to support dense network services, but they can also do very well with the correct software and hardware.

2) Good. They can be configured for $ 500 to achieve the above functions, and the basic system is generally pre-installed in the PC, and it is easy to install and configure.

3) At present, choosing a network solution is extremely dependent on Because of your network needs and budget. Obviously, unless you are in a family business here, we will not pay a lot of money for this. The model now has almost the most powerful and economical choice.

4) Linux provides the power of Unix, and The more sophisticated installation program is easier to install and manage. In fact, if you have the time, patience, hard disk and Internet connection, you can choose one of many FTP accounts to download Linux. Seeing this, you will Strange why Linux is not more popular? In fact, there are about 8 million computers running Linux, including more than 40% of ISPs, large companies, and government agencies like NASA (NASA recently used a Linux on the space shuttle. The computer was tested).

πŸ¦‘ Specific method of Linux networking

1) Assuming you do decide to build a home network with Linux, the first thing is to find available hardware. Now this is no longer a problem. In the past five years, Linux has been able to support almost all PC configurations, and as mentioned above, an old 386 can support a home network of 5 or more computers. Linux can run on any 386 / 486/586 / Pentium-class processors (including AMD, Cyrix), as well as Dec Alpha, PowerPC (Mklinux for Apple), M68xxx (Amiga, Atari), Sun SPARC, and MIPS. 386-based systems require a minimum of 4M memory Better) and 50M hard disk space (200M is better). Of course, the system chamber of Linux running on 386 / 4M / 20M is very slow, 8M memory and 50M hard disk are more realistic minimum requirements. If you have already thrown such a PC It ’s in the trash, hurry up and pick it up, she will work very well. The more popular set of Linux with user manuals is now available in bookstores.

2) If you have a Macintosh and PC at home, do n’t worry, Linux can work Most home operating systems live in harmony. Linux can recognize the network protocols and file systems of most systems on the Internet: MS D OS, Windows for Workgroups, Win95, Win NT, Mac OS, OS / 2, Novell, Amiga, VAX and Unix. The HOWTO documents available on the Internet detail how to support them.


3) Next you need to choose a network connection. Ethernet may be the cheapest, and even slow Ethernet can provide the performance that homes need. Fast Ethernet (100Mbps) has quickly become a commercial standard, and it is also for home Affordable. Ethernet cards range from a $ 20 8-bit 10M ISA card to a $ 100 100M network card.

4) 10Base2 seems to be a good choice for a home network, but 10BaseT is also good. 10Base2 connects the computer with thin cables in a daisy chain way To the Internet. The cable must be connected from beginning to end, and a 50 ohm terminator must be added to each end.
5) If you are decorating, you can easily install the 10BaseT network. If you use Category 5 cable, you can easily upgrade to Fast Ethernet in the future. A 10BaseT system with more than two nodes requires a Hub, and Category 5 cable is not cheap (40 cents per foot), so installing 10BaseT will cost more, but it will last longer and be more convenient than 10Base2. Linux supports almost any card, there is no need to worry about more.

6) Linux server for all home computer gateway to the Internet. this needs to be connected to a local ISP to provide IP addresses (preferably a static address) to the gateway .Internet connection You can use modem, ISDN, Frame Relay or ATM. Linux also provides a firewall to break into your home network from the Internet. Using a method called IP mask, Linux can only have a legal IP address and domain name Allow all computers to access the Internet. It makes all TCP / IP communications on your home network seem to come from your Linux computer.

6) When information is returned from other places, Linux plays the role of a post office and distributes the information to The right computer. Linux can easily support 2-5 computers to access the Internet through a 28.8 modem at the same time. Linux computers can also provide mail services, so that you can have as many e-mail addresses as you need. All of them only need one ISP Connected ordinary PPP or SLIP link. No additional e-mail service or subnet fee, because all the functions are provided by your Linux server.

7) Are you tired of having only one computer to surf the Internet or pay for multiple accounts? Let Linux help you.


8) Linux computers will provide printing and file services. The free software package Samba supports the SMB protocol for Win95 and WFW. Many large companies use Samba on their networks. After configuration, it will integrate flawlessly into the Windows system, allowing each network user Have independent or shared space, and develop and use printers (or network printers) on Linux servers.

9) Like all other Linux software, Samba is also freely available online, including complete installation instructions and source code, and is active In development and maintenance. Linux has another similar package Netatalk provides similar support for the Apple Localtalk protocol. A tape backup system can be installed on the Linux server to automatically back up your server.

10) Linux provides all traditional Unix network services. Sendmail or smail is completed. So all users on the system can have an e-mail address. Use the POP3 protocol to access e-mail accounts using e-mail client programs such as Eudora or Pegasus on the network. named can be provided. If you have several small networks or different network types, Linux can be used as a gateway to contact all subnets Together.

11) You can also use the core path to have Linux as a firewall and control the use of the Internet. NFS, a network file system, allowing computers to mount disk drives from remote machines. All packages of Linux support NFS, while other systems require additional software. Linux of course also supports other standard network applications used on the TCP / IP network: FTP, telnet, remote shell, ping, etc.

12) Linux also provides web servers and Java development systems. Several web servers are available on Linux, of which the most popular It is Apache. On the Internet, 45% of the web servers are Apache. Sun Microsystems provides JDK and Java compilers to develop Java programs. In fact, Java can be compiled into the Linux system, allowing the server to run native Java code. Most other operating systems are still only discussing this feature.

πŸ¦‘ So, where is the trap?

1) Now you may be wondering what is the hidden danger of Linux. In fact There is no real hidden danger. Linux is much more mature and faster than other well-supported systems such as NT. Windows NT has just announced a multi-processor system that supports eight CPUs. Linux supports Intel ’s SMP multi-processor Standardize and provide support for up to 20 CPUs on a single system.
2) Such a powerful brings the complexity of installation and support. In fact, installation and maintenance has become the subject of many recent articles. However, the recent package Linux has been greatly simplified The installation process is provided and more convenient management tools are provided. The following facts also help: Unlike Windows NT, which is a newer system, Unix has been around for decades, so well-trained Unix system personnel greatly exceed Windows NT.

3) The traditional technical support market for large installations of large companies in a workstation environment has now moved to Unix applications that support small business environments.

4) Because developing software on Unix is ​​so difficult, many young and enthusiastic software Linux developers and enthusiasts have been turned to cheap development platform. These people are an excellent source of knowledge management system, and you get them for free advice from newsgroups.

5) Like other as Unix, Linux has not been in the family in the past It is widely used in Linux. Many applications developed for Unix are available in Linux. These applications are generally in the field of scientific computing, and the quality of the program reflects this. Unfortunately, Linux lacks applications for general computer users.

6) Therefore, Although Linux can serve as an excellent server and an excellent workstation, it can run the latest free graphics environment-X Windows, but it cannot run the latest Office 97 (although many Windows programs can be used in Caldera's WABI window simulator or Wine window simulator ). There are now several software companies (and others) who develop and sell user programs to fill this gap.

πŸ¦‘ Don't worry about so much, let's do it first and then talk!

1) Linux requires very little initial cost, but is strong enough to easily support a home or small business network. It is particularly commendable because of retirement The old computer can be effectively used as a server for a small network.


2) The local Linux user group and computer store provide excellent support. The support from the Internet is also excellent. You get an e-mail from a Linux software developer to confirm your expenditure The bug has been fixed, think about how wonderful this feeling is.


----------------------------------- ---------------------------------------------

πŸ¦‘ Comfigure for Future

1) In many ways, the emergence and growth of Linux comes from the growth of the Internet and Linus Torvalds and many hard-working The efforts of developers.

2) Now, Linux is an incredibly low-cost yet super powerful system. Integrating the development of the latest software and hardware Work is still going on quickly. Although the future of the Internet, personal computers and network computers is still unknown, Linux seems to have a place in the future.

WRITTEN BY UNDERCODE
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁
πŸ¦‘ FULL NETWORK CONFIGURATION FOR WIN AND LINUX
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁

πŸ¦‘ Two very detailed shell examples
Examples
T.me/undercodeTesting

πŸ¦‘ π•ƒπ”Όπ•‹π•Š π•Šπ•‹π”Έβ„π•‹ :

1) General programming steps

γ€€γ€€Now let's discuss the general steps of writing a script. Any good script should have help and input parameters. And writing a pseudo script (framework.sh), which contains the framework structure that most scripts need, is a very good idea. At this time, when writing a new script, we only need to execute the copy command:

> cp framework.sh myscript

2) Then insert your own function.

γ€€3) Let us look at two more examples:

γ€€γ€€Binary to decimal conversion

4) γ€€γ€€The script b2d converts binary numbers (such as 1101) into corresponding decimal numbers. This is also an example of performing mathematical operations with the expr command:


#!/bin/sh
# vim: set sw=4 ts=4 et:
help()
{
γ€€cat < b2h -- convert binary to decimal

πŸ¦‘ USAGE: b2h [-h] binarynum

1) OPTIONS: -h help text

EXAMPLE: b2h 111010
will return 58
HELP
γ€€exit 0
}

error()
{
γ€€γ€€# print an error and exit
γ€€γ€€echo "$1"
γ€€γ€€exit 1
}

lastchar()
{
γ€€γ€€# return the last character of a string in $rval
γ€€γ€€if [ -z "$1" ]; then
γ€€γ€€γ€€γ€€# empty string
γ€€γ€€γ€€γ€€rval=""
γ€€γ€€γ€€γ€€return
γ€€γ€€fi
γ€€γ€€# wc puts some space behind the output this is why we need sed:
γ€€γ€€numofchar=echo -n "$1" | wc -c | sed 's/ //g'
γ€€γ€€# now cut out the last char
γ€€γ€€rval=echo -n "$1" | cut -b $numofchar
}

chop()
{
γ€€γ€€# remove the last character in string and return it in $rval
γ€€γ€€if [ -z "$1" ]; then
γ€€γ€€γ€€γ€€# empty string
γ€€γ€€γ€€γ€€rval=""
γ€€γ€€γ€€γ€€return
γ€€γ€€fi
γ€€γ€€# wc puts some space behind the output this is why we need sed:
γ€€γ€€numofchar=echo -n "$1" | wc -c | sed 's/ //g'
γ€€γ€€if [ "$numofchar" = "1" ]; then
γ€€γ€€γ€€γ€€# only one char in string
γ€€γ€€γ€€γ€€rval=""
γ€€γ€€γ€€γ€€return
γ€€γ€€fi
γ€€γ€€numofcharminus1=expr $numofchar "-" 1
γ€€γ€€# now cut all but the last char:
γ€€γ€€rval=echo -n "$1" | cut -b 0-${numofcharminus1}
}


while [ -n "$1" ]; do
case $1 in
γ€€γ€€-h) help;shift 1;; # function help is called
γ€€γ€€--) shift;break;; # end of options
γ€€γ€€-*) error "error: no such option $1. -h for help";;
γ€€γ€€*) break;;
esac
done

# The main program
sum=0
weight=1
# one arg must be given:
[ -z "$1" ] && help
binnum="$1"
binnumorig="$1"

while [ -n "$binnum" ]; do
γ€€γ€€lastchar "$binnum"
γ€€γ€€if [ "$rval" = "1" ]; then
γ€€γ€€γ€€γ€€sum=expr "$weight" "+" "$sum"
γ€€γ€€fi
γ€€γ€€# remove the last position in $binnum
γ€€γ€€chop "$binnum"
γ€€γ€€binnum="$rval"
γ€€γ€€weight=expr "$weight" "*" 2
done

echo "binary $binnumorig is decimal $sum"
#

2) γ€€γ€€The algorithm used by the script is to use decimal and binary weights (1,2,4,8,16, ..), for example, the binary "10" can be converted to decimal like this:

0 * 1 + 1 * 2 = 2


3) γ€€γ€€In order to get a single binary number we used the lastchar function. This function uses wc -c to count the number of characters, and then uses the cut command to extract the last character. The function of the Chop function is to remove the last character.

4)File cycle program

γ€€γ€€Perhaps you are one of the people who want to save all outgoing mail to a file, but after a few months, the file may become so large that it will slow down the access to the file. The following script rotatefile can solve this problem. This script can rename the mail save file (assuming outmail) to outmail.1, and for outmail.1 it becomes outmail.2 and so on ...


#!/bin/sh
# vim: set sw=4 ts=4 et:
ver="0.1"
help()
{
γ€€γ€€cat < rotatefile -- rotate the file name

πŸ¦‘ USAGE: rotatefile [-h] filename

OPTIONS: -h help text

1) EXAMPLE: rotatefile out
This will e.g rename out.2 to out.3, out.1 to out.2, out to out.1
and create an empty out-file

The max number is 10

version $ ver
HELP
γ€€γ€€exit 0
}

error()
{
γ€€γ€€echo "$1"
γ€€γ€€exit 1
}
while [ -n "$1" ]; do
case $1 in
γ€€γ€€-h) help;shift 1;;
γ€€γ€€--) break;;
γ€€γ€€-*) echo "error: no such option $1. -h for help";exit 1;;
γ€€γ€€*) break;;
esac
done
# input check:
if [ -z "$1" ] ; then
error "ERROR: you must specify a file, use -h for help"
fi
filen="$1"
# rename any .1 , .2 etc file:
for n in 9 8 7 6 5 4 3 2 1; do
γ€€γ€€if [ -f "$filen.$n" ]; then
γ€€γ€€γ€€γ€€p=expr $n + 1
γ€€γ€€γ€€γ€€echo "mv $filen.$n $filen.$p"
γ€€γ€€γ€€γ€€mv $filen.$n $filen.$p
γ€€γ€€fi
done
# rename the original file:
if [ -f "$filen" ]; then
γ€€γ€€echo "mv $filen $filen.1"
γ€€γ€€mv $filen $filen.1
fi
echo touch $filen
touch $filen

γ€€2) γ€€How does this script work? After detecting that the user provided a file name, we perform a 9 to 1 loop. File 9 is named 10, file 8 is renamed 9 and so on. After the loop is completed, we name the original file as file 1 and create an empty file with the same name as the original file.

3) debugging

γ€€4) γ€€The simplest debugging command is of course the echo command. You can use echo to print any variable value wherever you suspect an error. This is why most shell programmers spend 80% of their time debugging programs. The advantage of the shell program is that it does not need to be recompiled, and it does not take much time to insert an echo command.

4) γ€€γ€€The shell also has a real debugging mode. If there is an error in the script "strangescript", you can debug it like this:

sh -x strangescript


6) γ€€γ€€This will execute the script and display the values ​​of all variables.

γ€€γ€€The shell also has a mode to check the grammar without executing a script. Can be used like this:

sh -n your_script


7) This will return all syntax errors.

γ€€γ€€We hope you can start writing your own shell script now, and hope you have fun.

WRITTEN BY UNDERCODE
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁
This media is not supported in your browser
VIEW IN TELEGRAM
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁

πŸ¦‘ How to install phpmyadmin under Linux?

1) When installing fedora, select the basic components that should be selected, including Appache, mysql, and php, but when we manage the database, it is still more convenient to have a graphical interface, so we install phpmyadmin ourselves , The installation is very simple.

2) phpMyAdmin is a MySQL management tool that manages MySQL directly from the web.

3) Assuming your web (webpage storage) root directory is / var / www / assuming your host web access is like this http://192.168.1.11/

4) You can install it to / var / www / phpmyadmin or of course any subordinate directory of / var / www /

5) Note that the name of this directory is best known only to the administrator. Therefore, we assume / var / www / onlyyouknow

6)A. First go to the official website of phpMyAdmin to download the latest phpMyAdmin program

πŸ¦‘ http://superb-east.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.11.3-all-languages.tar.gz

1) Download phpMyAdmin-2.11.3-all-languages.tar.bz2 to / var / www /

#cd / var / www /

#wget http://superb-east.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.11.3-all-languages.tar.gz

Of course, you can also go to your own windows machine, and la2ter upload it to the web server after editing it

2) Unzip this file

# tar zxvf phpMyAdmin-2.11.3-all-languages.tar.gz

At this time the path /var/www/phpMyAdmin-2.11.3-all-languages

3) Change the directory name to / var / www / onlyyoukown

# mv /var/www/phpMyAdmin-2.11.3-all-languages / var / www / onlyyoukown

πŸ¦‘D. Modify the configuration file

1) Find the /libraries/config.default.php file (copy config.default.php to the phpmyadmin directory, and then rename it to config.inc.php), the file has the following items (2-8) must be configured by yourself Wordpad (do not use Notepad, this is UTF8 encoding) for editing, directly edit with vim under linux.

2) Find $ cfg ['PmaAbsoluteUri'] and change it to the phpMyAdmin URL that you will upload to the space

For example: $ cfg ['PmaAbsoluteUri'] = 'http://192.168.1.11/onlyyouknow/';

3) Find $ cfg ['Servers'] [$ i] ['host'] = 'localhost'; (usually use the default, there are exceptions, you can not modify)

4) Find $ cfg ['Servers'] [$ i] ['auth_type'] = 'config';

Use config for debugging in your own machine; if you use cookies in the space on the network, since we have added the URL in the front, we will modify it to a cookie. Here we recommend using cookies.

5) Find $ cfg ['Servers'] [$ i] ['user'] = 'root'; // MySQL user (mysql user name, use root in your machine;)

6) Find $ cfg ['Servers'] [$ i] ['password'] = ''; // MySQL password (mysql user's password, his server is generally the password of the mysql user root)

7) Find $ cfg ['Servers'] [$ i] ['only_db'] = ''; // If set to a db-name, only (set it if you only have one data; if you are on this machine or want to Set up the server, it is recommended to leave it blank)

8) Find $ cfg ['DefaultLang'] = 'zh'; (Here is the choice of language, zh stands for Simplified Chinese, I do n’t know whether to fill in gbk or not)

9) Save after setting

If "The configuration file now requires the top secret phrase password (blowfish_secret)", please set the cookie of your website in the equal sign of $ cfg ['blowfish_secret'] = ''; for example: $ cfg ['blowfish_secret'] = ' Any character '; This is because of your "$ cfg [' Servers'] [$ i] ['auth_type'] = 'cookie'.

πŸ¦‘ Test

1) Open the browser, http://192.168.1.11/onlyyoukown/

A little personal opinion

2) We think that it is not a very safe way to control mysql through the root user of mysql from the web. So my suggestion is that if it is your own server, you can put the phpadmin directory into a directory that the web cannot access when you run out. Use it to move the entire directory back to its original location with the mv command.

WRITTEN BY UNDERCODE
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁

πŸ¦‘ AMAZON PRIME ACCOUNTS-
tested from wiki



549388012554xxxx

22/04

cvv: rnd

IP: la suya (o Amazon bloquea la cuenta)

1) En vivo | 5493880125547461 | 04 | 2024 | 560

2) En vivo | 5493880125540011 | 04 | 2024 | 822

3) En vivo | 5493880125545440 | 04 | 2024 | 672

4) En vivo | 5493880125548352 | 04 | 2024 | 627

5) En vivo | 5493880125548527 | 04 | 2024 | 744

6) En vivo | 5493880125540672 | 04 | 2024 | 522

@UNDERCODETesting
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁

πŸ¦‘LEARN PHP :SUMMARY OF ESCAPE characters :
fb.com/undercodeTesting

πŸ¦‘ π•ƒπ”Όπ•‹π•Š π•Šπ•‹π”Έβ„π•‹ :

1) A summary of escape characters In writing bbs recently, I encountered a problem with transcoding. It took a long time to find a more complete solution, which can completely restore the original text of the author.
Posted below for your correction.
System: linux + php4 + oracle8i


2) <?
// --- title, name and other fields into the library processing (remove the leading and trailing spaces)
function trans_string_trim ($ str) {
$ str = trim ($ str);
$ str = eregi_replace ("'" , "''", $ str);
$ str = stripslashes ($ str);
return $ str;
}

3) // --- article storage processing, namely textarea field;
function trans_string ($ str) {
$ str = eregi_replace (" '","' '", $ str);
$ str = stripslashes ($ str);
return $ str;
}

// --- displayed from the library in the form; in text to trans conversion, in textarea, no Conversion, display directly

//-display on WEB page, filter HTML code; including link address
function trans ($ string) {
$ string = htmlspecialchars ($ string);
$ string = ereg_replace (chr (10), "

$ string = ereg_replace (chr (32), "", $ string);
return $ string;
}

4) // --- displayed on the WEB page without filtering HTML code;
function trans_web ($ string) {
$ string = ereg_replace (chr ( 10), "
", $ string);
$ string = ereg_replace (chr (32), "", $ string);
return $ string;
}


5) // --- displayed on the WEB page, filter HTML code and head and tail spaces, mainly Used to display the user nickname
function trans_trim ($ string) {
$ string = trim ($ string);
$ string = htmlspecialchars ($ string);
$ string = ereg_replace (chr (10), "
", $ string);
$ string = ereg_replace (chr (32), "", $ string);
return $ string;
}

6) // --- displayed in span;
function trans_span ($ string) {
$ string = ereg_replace (chr (10), "\ n", $ string);
$ string = ereg_replace (chr (32), "", $ string);
$ string = ereg_replace ('"'," "", $ string);
return $ string;
}

7) // --- display cookies on WEB, filter html
function trans_cookie ($ str) {
$ str = trans ($ str);
$ str = stripslashes ($ str);
$ str = eregi_replace ("" "," '", $ str);
return $ str;
}
? >
---------------------------

8) Finally, by the way, if you want to display a paragraph in the article in the span, use substr to take fixed-length characters When stringing, remember to add a space after the span parameter

WRITTEN BY UNDERCODE
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁

πŸ¦‘ Bin Spotify Premium :

BIN = 510458xxxxx44xx1

IP = Argentina

Country = Honduras

If you don't understand, use Argentine IP and when paying change to Honduras

▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁

πŸ¦‘ Network filtering-restore the default settings of iptables :
t.me/undercodeTesting

πŸ¦‘ π•ƒπ”Όπ•‹π•Š π•Šπ•‹π”Έβ„π•‹ :

Simple steps :

1) /usr/local/sbin/iptables -P INPUT ACCEPT
/usr/local/sbin/iptables -P FORWARD ACCEPT
/usr/local/sbin/iptables -P OUTPUT ACCEPT


2) reset the default policies in the nat table.

/usr/local/sbin/iptables -t nat -P PREROUTING ACCEPT
/usr/local/sbin/iptables -t nat -P POSTROUTING ACCEPT
/usr/local/sbin/iptables -t nat -P OUTPUT ACCEPT


3) # flush all the rules in the filter and nat tables.

/usr/local/sbin/iptables -F
/usr/local/sbin/iptables -t nat -F


4) erase all chains that's not default in filter and nat table.

/usr/local/sbin/iptables -X
/usr/local/sbin/iptables -t nat -X'

Written by Undercode
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁

πŸ¦‘ XWindow configuration full by undErcode :
t.me/undercodeTesting

πŸ¦‘ π•ƒπ”Όπ•‹π•Š π•Šπ•‹π”Έβ„π•‹ :

1) This document describes how to obtain , Install, configure (configure) XFree86 of linux system . XFree86 is an enhanced version of Windows x 11r5, mainly in all kinds of support to intel i386 / 486 hard
unix system body platform, of course, this also includes the linux. It currently supports a considerable number of video hardware, and it also
fixes many mit Standard x windows bugs.

2) The purpose of this document is an attempt to help Linux users how to install and set configuration version of XFree86 2.0, a further
aim is to answer some questions about the use of x and program design.
Please after reading this document and related files, and then start the installation and start xfree86, so can avoid small
possible hardware damage caused by heart.

3) To see the complete file about xfree86, please refer to the directory under / usr / X386 / lib / X11 / etc
/ usr / X386 / man. Other important files and directories will also be mentioned in this description.

4) In addition, this file is not a complete set of XFree86, but we will provide relevant information
, the main file please refer to: xf86-doc-2.0.tar.gz.
Other manpages about X11R5 are in: xf86-man-2.0.tar.gz. To see these manpages, you
can use groff -man ***. Man | more or directly set MANPATH to this directory, and then use the
man command directly .

πŸ¦‘ Content:

0 ) Introduction-What are X11R5 and XFree86?

1) Supported hardware

2) Where can I get XFree86, and what do I need to run?

3) Configure XFree86

4) tinyX-a package for systems with low memory
5)X-related software
6) use to compile X programs
7) x of programming
8) information on the Internet to find the X

πŸ¦‘ Appendix: Some questions and answers
0.5 Introduction - What is the X11R5 and XFree86?
X11R5 is for unix Windows system of the system. x mit Consortium window is raised, and there are
free of copyright, it allows any of the original program is used, as long as the original copyright considerations included into the
go to.
Because x is the unix system to do business standard Windows system, so there is a considerable number of applications using the x window
which contains free and commercial version of the body.
XFree86 is also a branch of X11R5, mainly supporting several Intel-based unix and unix-
like operating systems. XFree86 server portion derived from x386 1.2 edition (which is made public in conjunction with x11r5
shi x server), but most of the newly developed xfree86. From then xfree86-1.3, the most important
change is to accelerate the server, this is a completely new. This version has many new features, efficiency improvements
and some bug improvements.

1. Supported hardware
This is a frequently asked question, do first in this simple explanation. The current version 2.0
supports the following hardware on the XF86_SVGA server:
Non-acceleration cards:
Tseng ET3000, ET4000AX, ET4000 / W32
Western Digital / Paradise PVGA1
Western Digital WD90C00, WD90C10, WD90C11, WD90C30
Genoa GVGA
Trident TVGA8800CS, TVGA8900B, TVGA8900C , TVGA8900CL, TVGA9000
ATI 28800-4, 28800-5, 28800-a
NCR 77C22, 77C22E
Cirrus Logic GLGD5420, CLGD5422, CLGD5424, CLGD6205, CLGD6215,
CLGD6225, CLGD6235
Compaq AVGA (cf the question in the appendix)
OAK OTI067, OTI077
accelerator card:
Cirrus CLGD5426 , CLGD5428
Western Digital WD90C31
NOTE WD90C33 does not work on XFree86-2.0.

πŸ¦‘ These cards support 256 colors (XF86_SVGA) and in monochrome mode (XF86_Mono) except
ATI and Cirrus cards (these two cards only support 256 colors). In addition, ET4000 / W32
only has functions like ET4000, and acceleration functions are not supported.
2) Usually monochrome server also supports VGA card (using an image memory 64k), Hercules card
and Hyundai HGC-1280 card. But these drivers are not in the XF86_Mono server
in.

3) So if you want to use these, you must use LinkKit to reconfigure your XF86_Mono
server. The appendix mentions how to construct the Hercules mono card.

4) There is an experimental server called the hardware for general VGA card: XF86_VGA16 is a
16-color server.

πŸ¦‘ XFree86-2.0 has different servers and supports the following hardware:

1) S3 86C911, 86C924, 86C801, 86C805, 86C928 supported by
the XF86_S3 server
ATI mach8 supported by the XF86_Mach8 server
ATI mach32 supported by the XF86_Mach32 server
IBM 8514 / a and true clones supported by the XF86_8514 server, no
other hardware is supported, such as Weitek P9000, TIGA, IIT AGX,
Microfield, the new MGA, etc .. None are supported. In future versions,
we will support these hard bodies. However, TIGA and Microfield like will not be supported, because
the problem with copyright files.

Be in / usr / X386 / lib X11 under / / etc directory README file for instructions variety of card
has a description of the various options and settings.

2) Where can I get XFree86, and what do I need to do to run it?
This section is mainly for Linux executable software.
The executable XFree86-2.0 for Linux can be obtained from ftp to the following places:
tsx-11.mit.edu:/pub/linux/packages/X11/XFree86-2.0
or
sunsite.unc.edu:/pub/Linux/X11/XFree86 -2.0


3) This software is tarfiles compressed with gzip.
XF86_8514.tar.gz Server for
IBM8514 card XF86_Mach32.tar.gz Server for Mach32 card
XF86_Mach8.tar.gz Server for Mach8 card XF86_Mono.tar.gz Server for
monochrome card
XF86_S3.tar.gz device
server XF86_SVGA.tar.gz SVGA card
XF86_VGA16.tar.gz 16 vga card server
xf86-svr-2.0.tar.gz Server for all the above cards
xf86-bin-2.0.tar.gz Some common user programs
xf86-cfg-2.0.tar.gz XDM configuration files and
chooser xf86-fnt-2.0 tar.gz fonts (all of them)
xf86-kit-2.0.tar.gz Linkkit for building X servers
xf86-lib-2.0.tar.gz Dynamic libraries, bitmaps and minimal fonts
xf86-man-2.0.tar .gz Manual pages (both client + programmer)
xf86-pex-2.0.tar.gz PEX libraries and sample clients
xf86-prg-2.0.tar.gz Static libs, dynamic stubs, configs and
include files
xf86-doc-2.0.tar .gz Documentation and release notes for XFree86 2.0
xf86-doc2-2.0.tar.gz This file contains the manpage for Xconfig that
has mistakenly been left out of the -doc- file. In
addition, libc 4.4.1 or later is required to run Free86-2.0. People with accelerated version of the server
you need at least Linux version or update 0.99pl13.
Other servers such as SVGA, VGA16 and Mono require Linux 0.99pl12 or newer.

4) And you must install install David Engel \ s shared dynamic linker ld.so
1.3 or newer, which can be found in the following places:
mirrors of tsx-11 in the / pub / linux / packages / GCC directory.
Memory requirements It is at least 8 MB and virtual memory 16 MB (SWAP file). In fact, if you carefully
manage the use of memory, 4 MB can also run. Our recommendation is to have at least 8 MB of memory,
because the swap method will really hurt performance.

5) If you want to run a memory- intensive program, such as gcc; then you should have at least 16 MB of memory and
16MB of swap. If you
do not install LinkKit, you must have at least 17 MB of disk space. If it is complete, you need 21 MB.

6) If you remove other servers you don't need, you should be able to save a few MB. Detailed disk

7) For requirements, please refer to the description of Simon Cooper in the 00README file.

8) Before installation, please back up the files you have changed in case you need them from time to time.

> Please handle as root in the / directory)
permission right you should use umask 022.
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁

πŸ¦‘ If I want to compile XWINDOWS myself, what should I do?


1) you should use Link Kit, because it will be much simpler.
To add SVGA server driver, you need Link Kit.
You can find the Link Kit in the directory / usr / X386 / lib / Server / VGADriverDoc.

2) Starting with version 2.0, Configuring XFree86 , all XFree86 files are put together. Use tar to combine them into one file:
xf86-doc-2.0.tar.gz. You must first obtain this file and read these files Only then

3) The correct configuration of XFree86. Some of the steps beneath, is related to the introduction of some of these documents:
README.Config This file can be said is a brief description of the configuration of XFree86 home, look at this file, and in accordance with
its instructions step by step.

4) Next, you must use the man command to check the Xconfig, XFree86 and related server instructions
(the possible servers are XF86_SVGA, XF86_Mono, XF86_VGA16
, XF86_S3 , XF86_Mach8 , XF86_Mach32 or XF86_8514). Just look at the first section of the manpage (man 1 xconfig)

5) If you can not determine what kind of video card, you can use the program to check SuperProbe
check your video card categories. However, if you have a manual video card, of course, it is based on the instructions manual you to
do.

6) It should be noted that SuperProbe may not be able to correctly check the type of video card. Of course, in this case, the
XFree86 server is difficult to operate correctly. And the card types that SuperProbe can check are more than the
number of types supported by XFree86 server.

7) There are some images that can be functioning at XFree86-2.0 version AccelCards this document is an
accelerator card. See if your card is listed. Of course, there are some cards may not be one of them, but
it also can function properly.

8) If you are using XS3, then you should see README.XS3, because it was to join XS3 server
when there are some changes slightly.

9) Several people have pointed out that some XFree86 configuration problems can be solved by changing the shadowing BIOS
settings and cacheable area. Since these methods, there are some contradictions; so I will only
mention some of the problems may be BIOS settings will appear. If you have a problem, or not mentioned by the bottom
to find the answer file, then of course, the problem may not be a problem bios settings.

πŸ¦‘ You will need the following information during configuration:
Screen specifications (such as horizontal and vertical frequencies, bandwidth, etc ...), this is the most important thing.

1) The name of the card. Some companies will use \ "s3 \" as a synonym for \ "accelerated \".

2) How much image memory is provided by your card.

3) Your card available dot-clocks are those, or directly to a programmable
This is the most difficult part of the set. There is a description in README.config about how to get this information.
NOTE: The WD90C3x card will have problems during clock probing.
Please use the XFree86-1.3 server to execute the measured clocks and record them in the

4) Xconfig file, then you can run the 2.0 version of the server.
NOTE: If your RAMDAC processing pixel clocks higher than 110MHz, then
it may be recent high-end RAMDACs because these are using special way.
Will be possible, these RAMDACs should not be higher than 85 MHz in the Clock Run

5) The next version should support these hardware. If you are with the current model, with a high speed
operation of your RAMDAC, you'll ruin it. If you have such hardware, please use
a speed not higher than 85MHz.

6) The protocol used by the mouse and the connected device. There are listed in the manpage in Xconfig
available mouse agreements. Below are some device names for mouse connection:
7) / dev / atibm ATI XL busmouse (NOTE: ATI GU busmouse is
actually logitech busmouse)
/ dev / logibm for the Logitech busmouse (NOTE: this uses the
busmouse protocol, NOT the Logitech protocol)
/ dev / inportbm for the microsoft busmouse
/ dev / psaux for a ps / 2 or quickport mouse

πŸ¦‘ NOTE: The names listed above are the new names. Perhaps the old names are still used in the old versions.
new old major minor device number
atibm: bmouseatixl 10 3
logibm: bmouselogitec 10 0
inportbm: bmousems 10 2
psaux: bmouseps2 or ps2aux 10 1

πŸ¦‘ Other mice belong to serial mouse, so they are also connected to some serial ports
like / dev / ttyS ? Or / dev / ttyS ??.

1) busmouse not always easy to see that a device is connected, that is, to determine if
all the drivers into the kernel, a message appears when you turn and look in the boot
, it will tell you it is detected that the busmouse which type. At this point you will know, it

2) Is connected to that device.
Now look at the README.Config file. If your screen is not in the modeDB.txt file,

3) you should choose a general mode. And make sure that the specifications of the selected mode are among your screen specifications.
If you want to adjust or change a mode, please read VideoModes.doc and follow the instructions to
set it.

4) WARNING: Other people's Xconfig files may not be suitable for you, because each person's hardware device is different.
In particular screen mode setting, be sure to determine the specifications of all of your screen, to avoid having
the hardware to be damaged.
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁

πŸ¦‘ Configuring the keyboard for non-US-layout Xwindows manager
twitter.com/undercodeNews

πŸ¦‘ π•ƒπ”Όπ•‹π•Š π•Šπ•‹π”Έβ„π•‹ :

1) If you do not change the original standard settings, the server will automatically activate the US-american keyboard mode

2) If you want different settings, please see the manpage description of xmodmap.

3) In sunsite.unc.edu:/pub/Linux/X11/misc have Xmodmaps Some language keyboard
set instance.

4) There are also several special keys, you can define new correspondence. In Xconfig profile, the complete set advantage
with. Please refer to the XFree86kbd (1) manpage in this regard.

5) tinyX-An x window system based on XFree86, suitable for machines with less ram

6) If your ram is not enough to run XFree86, maybe you can try this stuff.
It is based on XFree86, so the way to configure or set is the same as xfree86.

7) To run tinyX, you must have at least 4 MB RAM and at least 8 MB swap space. The current

8) tinyX there are several versions of the server program to follow instructions on the front of the xfree86-2.0 to choose
select.

πŸ¦‘ The name of the software are as follows:
tinyX-2.0.tar.gz-YYY, YYY the name of the server on behalf of
this software may be made to obtain the nearest station ftp. After obtaining the first set and then untar Xconfig
file, you can also find some of the relevant documents tinyX in the readme directory, the first reading of this file
and then set the Xconfig file.

1) The tinyX file also includes some useful memory saving tips. At least follow some suggestions, you
can also reduce the number of swapping when running tinyX. If you have more than the memory of the implementation
capacity, the system also will be completely locked (in other words, similar

2) to the crash, on most of the situation is only
powered off or press the reset, this is very dangerous), Therefore, before restarting the x
sure to read that file,
because the tinyX does not contain complete XFree86-2.0, it may encounter when performing, it appears
message program does not exist.

WRITTEN BY UNDERCODE
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁
πŸ¦‘ FULL XWINDOW MANAGER BY UNDERCODE
This media is not supported in your browser
VIEW IN TELEGRAM