Skip to main content

Posts

Showing posts with the label Linux

[SOLVED]wifi driver not installed on HP-Laptop-15-da0xxx,

#issue with  Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:d723] been not detected by Ubuntu 18 1.Checking for wireless device tony@techyoga:~$ lspci -nnk | grep -iA3 net 01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15) Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [103c:84ad] Kernel driver in use: r8169 Kernel modules: r8169 02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:d723] Subsystem: Hewlett-Packard Company Device [103c:8319] Kernel driver in use: rtl8723de Kernel modules: rtl8723de, wl 2. Instal dkms if not installed tony@techyoga:~$ sudo apt install git dkms Reading package lists... Done Building dependency tree Reading state information... Done dkms is already the newest version (2.3-3ubuntu9.5). dkms set to manually installed. git is already the newest version ...

7 year old Linux Kernel Vulnerability get patched

Common Vulnerabilities and Exposures ,CVE-2017-2636 gets patch.   W ay back at 2009  a large number of Linux distros, including Red Hat, Debian, Fedora, OpenSUSE, and Ubuntu has been affected with  condition issue in the N_HLDC Linux kernel driver – which is responsible for dealing with High-Level Data Link Control (HDLC) data – that leads to double-free vulnerability. Double Free ” is one of the most common memory corruption bug that occurs when the application releases same memory location twice by calling the free() function on the same allocated memory. An unauthenticated attacker may leverage this vulnerability to inject and execute arbitrary code in the security context of currently logged in user. Positive Technologies researcher A lexander Popov discovered a race condition issue in the N_HLDC Linux kernel driver – which is responsible for dealing with High-Level Data Link Control (HDLC) data – that leads to double-free vulnerability. Since the flaw dates back ...

Disable remote root access via SSH right now.

Linux malware has been discovered Malware itself doesn't include any exploitation module to hack into Linux machines; instead, the attackers are using other Trojans and techniques to compromise devices at the first place and then create a new backdoor login account using the username as "mother" and password as "fucker."Once backdoored and the attacker gets the list of all successfully compromised Linux machines, and then logs into them via SSH protocol and installs the SOCKS5 proxy server using Linux.Proxy.10 malware on it.This Linux malware is not at all sophisticated since it uses a freeware source code of the Satanic Socks Server to setup a proxy. Linux users and administrators are recommended to tighten SSH security by limiting or disabling remote root access via SSH, and to know if your system has already been compromised, keep a regular watch on newly generated login users. Solution: Just edit /etc/ssh/sshd_config and set PermitRootLogin to 'no'...

How to make SSL certificate in Linux.

By default O penssl is installed on major Linux distributions. If its not installed, then you have to manually install Openssl first to proceed further. Step:1 From Terminal window type: milan@TGS ~> openssl genrsa -out key.pem 2048 Generating RSA private key, 2048 bit long modulus ......+++ .....................................................................................+++ e is 65537 (0x10001) milan@TGS ~> openssl req -new -sha256 -key key.pem -out csr.csr You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. ----- Country Name (2 letter code) [AU]:IN State or Province Name (full name) [Some-State]:Kerala Locality Name (eg, city) []:Trissur Organization Name (eg, company) [Internet Widgits P...

Solved: libavcodev may be vulnerable or is not supported problem in Linux Mint

You might be one like me who have faced this message if you are using firefox,libavcodev may be vulnerable or is not supported.So How to solve libavcodev may be vulnerable or is not supported problem? Method 1 1 .First update your Flash player if its asking you to update.    Download and extract Flash tar.gz.open that folder as root.Now enter following command: TGS install_flash_player_11_linux.x86_64 # cp -v libflashplayer.so /var/lib/mozilla/plugins/ ‘libflashplayer.so’ -> ‘/var/lib/mozilla/plugins/libflashplayer.so’ TGS install_flash_player_11_linux.x86_64 # cp -v libflashplayer.so /usr/lib/adobe-flashplugin/ ‘libflashplayer.so’ -> ‘/usr/lib/adobe-flashplugin/libflashplayer.so’ TGS install_flash_player_11_linux. x86_64 # 2. Update libavcodec milan@TGS ~ $ sudo add-apt-repository ppa:kirillshkrogalev/ffmpeg-next milan@TGS ~ $ sudo apt-get update milan@TGS ~ $ sudo apt-get install ffmpeg Method 2 just enable libavcodec in firefox: type about:config in the address b...

RedHat/CentOS7 root password reseting trick

Dam simple method to reset RedHat ,centOS7 root password I know their are many methods, but this one worked for me in my CentOS7 Append “ rd.break ” to the kernel command line that starts with linux16 (this will break just before control is handed from the initramfs to the actual system) (sometimes it is needed to delete also everything after “…mapper/rhel-root ro” and append here) #mount -o remount,rw /sysroot #chroot /sysroot #passwd #touch /.autorelabel “ exit ” and again “ exit ” and you are done.

Hack ISP with VPN for free access to blocked websites.

Method 1 from Ternimal window First of all install openvpn on your linux machine milan@TGS ~/Desktop/temp $ sudo apt-get install openvpn [sudo] password for milan:  Reading package lists... Done Building dependency tree        Reading state information... Done The following packages were automatically installed and are no longer required:   azureus java-wrappers libcommons-cli-java libcommons-lang-java   liblog4j1.2-java libswt-cairo-gtk-3-jni libswt-gnome-gtk-3-jni   libswt-gtk-3-java libswt-gtk-3-jni libswt-webkit-gtk-3-jni Use 'apt-get autoremove' to remove them. The following extra packages will be installed:   libpkcs11-helper1 Suggested packages:   easy-rsa The following NEW packages will be installed:   libpkcs11-helper1 openvpn 0 upgraded, 2 newly installed, 0 to remove and 794 not upgraded. Need to get 432 kB of archives. After this operation, 1,165 kB of additional disk space will be used. Do you want to continue? [Y/n] y ...

How to add CGI and Perl in apache

Configuring Apache to run CGI programs isn't that hard. First, you need to assign an alias for your script directory. So you create a special location, called an alias, to the actual CGI directory. Edit your httpd.conf file and add the line below: ScriptAlias /cgi-bin/  /usr/local/apache/share/cgi-bin/ However, this does not configure Apache to run the programs it finds in the cgi-bin directory. To actually execute programs, you need to edit the access.conf file by adding a section like this: <Directory /usr/local/apache/share/cgi-bin> Options ExecCGI AddHandler cgi-script   .cgi   .pl </Directory>   Here is how CGI works You need a web page that uses forms to call the cgi script. Create a plain text file called testcgi.html Here it is: "http://www.w3.org/TR/html4/strict.dtd"> <html><head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> <title>testcgi</title> </head>...