OpenBSD
How To Find a Hidden Process and Port in Linux and Unix Operating System
There are so many tools that able to check the hidden process and port, the tools are rootkits/lkms/unhide etc.
In this tutorial i will discuss something more simple to use and the tools is UNHIDE.
Unhide is a tool to find hidden processes and TCP/UDP ports by rootkits / LKMs or by another hidden technique. This tools works under both Linux / Unix, and MS-Windows operating systems.
It detects hidden processes using three techniques:
The proc technique consists of comparing /proc with the output of /bin/ps.
The sys technique consists of comparing information gathered from /bin/ps with information gathered from system calls.
The brute technique consists of bruteforcing the all process IDs. This technique is only available on Linux 2.6 kernels.
How To Remove USB Pen Device MBR
How To Remove USB Pen Device MBR
What is MBR ?
MBR is master boot recorded.
The question is how can we remove the MBR for USB device?
in DOS environtment we can just simply type fdisk/mbr command
but this is different, in LINUX/ UNIX please follow this step below :
Login into your server and type command below
[code]$dd if=/dev/zero of=/dev/sdc bs=512 count=1[/code]
YOu will see the output like below
1+0 records in
1+0 records out
512 bytes (512 B) copied, 0.00308483 s, 166 kB/s
PHP 5.3.x and Date Error in Drupal
After i've upgraded my PHP to the latest version, i found there is a problem with my PHP date function.
here is the error example :
"warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function.
Here is the fastest way to fixed this issue.
Login as root into your server
Edit php.ini
#pico /usr/local/etc/php.ini
How to Add user and password .htaccess apache-like in Nginx Config
Login into the server with root access
#pico /usr/local/etc/nginx/nginx.conf
First add the following to your Nginx configuration file:
location / {
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/htpasswd;
}
Then We need to create the htpasswd file
this be passwords format will be
=================================
thisbetheusername:thisbeencryptedpass
How To Install GeoIP Module For Apache 2
What is GeoIP
GeoIP® is the proprietary technology that drives MaxMind's IP geolocation data and services. GeoIP provides businesses with a non-invasive way to determine geographical and other information about their Internet visitors in real-time. When a person visits your website, GeoIP can determine which country, region, city, postal code, area code the visitor is coming from. Furthermore, GeoIP can provide information such as longitude/latitude, connection speed, ISP, company name, domain name, and whether the IP address is an anonymous proxy or satellite provider.
PEAR channel using a unsupported protocol
When installing PHP 5.2.14 from source and then installing PEAR libraries, I got the following error when executing pear:
pear.php.net is using a unsupported protocol - This should never happen.
install failed
so How to fixed this ?
#rm -rf /usr/local/lib/php/.channels
and then re execute pear channels again
#pear update-channels
This should fixed your problem.
Postfixadmin Squirellmail Plugins To Change Postfix User Password
What is Postfixadmin Squirellmail Plugins ?
This plugin is used to help postfix user to be able to change their password, autovacation and forwarding via squirellmail webmail without need to asking admin to change their needs.
Prepare anything to start
1. Zend Framework Minimal. We can download it from this URL http://framework.zend.com/releases/ZendFramework-1.10.8/ZendFramework-1....
2. We need to recompile / install php to support XMLRPC
Simple Way To Setup WebDAV on Apache
WebDAV (Web-based Distributed Authoring and Versioning) is a way to share files over HTTP, much like you would use Samba or NFS.
It has more limitations, and less speed, than file systems like Samba or NFS, but with the proliferation of Web servers and the ability to reach Web sites from multiple clients in various locations, WebDAV certainly has its appeal. Unlike Samba or NFS, which are best suited for local area networks, you can use an HTTP server anywhere in the world and likewise access it from anywhere.
WebDAV support is also baked right into most modern operating systems (OS), making it extremely easy to access as a client. Setting it up on the server, however, may be more of a challenge. Certainly setting it up correctly can be.
How To Backups Partition With dd Command Line
What is DD ?
dd is a common Unix program whose primary purpose is the low-level copying and conversion of raw data. dd is an application that will "convert and copy a file" [1] according to the referenced manual page for Version 7 Unix and is most likely inspired from DD found in IBM JCL, and the command's syntax is meant to be reminiscent of this;[2] in JCL, "DD" stands for Data Description. dd is used to copy a specified number of bytes or blocks, performing on-the-fly byte order conversions, as well as more esoteric EBCDIC to ASCII conversions.[3] dd can also be used to copy regions of raw device files, e.g. backing up the boot sector of a hard disk, or to read fixed amounts of data from special files like /dev/zero or /dev/random.
How To Fixed Fatal error: failed to convert frame to gd image problem using ffmpeg
Yesterday i have a problem with my php-ffmpeg it shows "failed to convert frame to gd image" from one of my web applications
So after searching and testing here is the solution to fixed this issue :
First, make sure your php supported gd (compiled with gd)
#php -i | grep gd
Install re2c
Recent blog posts |
Recent comments
4 days 2 hours ago
1 week 2 days ago
1 week 3 days ago
2 weeks 4 days ago
4 weeks 4 days ago
4 weeks 4 days ago
5 weeks 2 days ago
5 weeks 4 days ago
5 weeks 4 days ago
6 weeks 5 days ago