Press "Enter" to skip to content

Posts published in “Linux”

Install OpenVAS on Ubuntu

0

OpenVAS is a framework of several services and tools offering a comprehensive and powerful vulnerability scanning and vulnerability management solution. The framework is part of Greenbone Networks’ commercial vulnerability management solution from which developments are contributed to the Open Source community since 2009. 1. Install dependencies $ sudo apt–get install sqlite3 python–software–properties

OpenVAS Virtual Appliance / GreenBone Installation

0

OpenVAS Framework The GSM Community Edition is a derivate of the GSM ONE and allows a quick and easy option on Windows, Linux or Mac to give the solution a trial. No particular know-how is needed. In contrast to the commercial solution the Community Feed instead of the Greenbone Security Feed is used. Also some management functions like for TLS certificates are…

Metasploit Installation on Windows 7 and 10

0

The Metasploit Framework (MSF) is far more than just a collection of exploits. It’s an infrastructure that you can build upon and utilize for your custom needs. This allows you to concentrate on your unique environment, and not have to reinvent the wheel. I consider the MSF to be one of the single most useful auditing tools freely available to…

Kali Virtual Appliance Installation and Usage

0

Kali Linux is the world’s most powerful and popular penetration testing platform, used by security professionals in a wide range of specializations, including penetration testing, forensics, reverse engineering, and vulnerability assessment. It is the culmination of years of refinement and the result of a continuous evolution of the platform, from WHoppiX to WHAX, to BackTrack, and now to a complete…

CentOS Basic Configuration

0

The CentOS Project is a community-driven free software effort focused on delivering a robust open source ecosystem. For users, CentOS offers a consistent manageable platform that suits a wide variety of deployments. For open source communities, CentOS offers a solid, predictable base to build upon, along with extensive resources to build, test, release, and maintain their code. 1. Find Out Installed Package [[email protected] /]$ rpm -qa |lessplymouth-0.8.9-0.24.20140113.el7.centos.x86_64libsoup-2.48.1-3.el7.x86_64libaio-0.3.109-13.el7.x86_64dmidecode-2.12-9.el7.x86_64passwd-0.79-4.el7.x86_64bind-libs-lite-9.9.4-29.el7_2.2.x86_64sed-4.2.2-5.el7.x86_64grub2-2.02-0.34.el7.centos.x86_64libcom_err-1.42.9-7.el7.x86_64rsyslog-7.4.7-12.el7.x86_64biosdevname-0.6.2-1.el7.x86_64dracut-config-rescue-033-360.el7_2.x86_64libacl-2.2.51-12.el7.x86_64openssh-clients-6.6.1p1-23.el7_2.x86_64xe-guest-utilities-6.5.0-1432.x86_64libgcrypt-1.5.3-12.el7_1.1.x86_64libpcap-1.5.3-8.el7.x86_64cronie-1.4.11-14.el7.x86_64iwl6050-firmware-41.28.5.1-43.el7.noarchiwl4965-firmware-228.61.2.24-43.el7.noarchiwl3160-firmware-22.0.7.0-43.el7.noarchlibunistring-0.9.3-9.el7.x86_64iwl100-firmware-39.31.5.1-43.el7.noarchperl-parent-0.225-244.el7.noarchnewt-0.52.15-4.el7.x86_64perl-Pod-Escapes-1.04-286.el7.noarchgdbm-1.10-8.el7.x86_64perl-libs-5.16.3-286.el7.x86_64…….[[email protected]

Basic Linux Commands (Tips and Tricks)

0

1. Basic Commands man : manualls :List Directory Contentspwd :print working directorycd :change directorymkdir :Make directorycp :Copymv :Movefind and locate and whereiskill passwd :Passwordmd5sum :Compute and Check MD5 Message Digesthistory :History (Event) Record。sudo :(super user do)touch :Update the access and modification times of each FILE to the current timechmod :change file mode bitschown :change file owner and groupapt :Advanced Package…

Linux : find big file in the all directories

0

1. Juniper Firewall   find . -type f -size +10000 -exec ls -lh {} ;  Sample output: [email protected]% find . -type f -size +10000 -exec ls -lh {} ; -rw-r–r–  1 930  929   134M Jan  5 17:34 ./cf/packages/junos-11.4R6.6-domestic-rw-r–r–  1 root  wheel   139M Sep  8  2011 ./cf/var/log/junos-srxsme-11.2R2.4-domestic.tgz-rw-r—–  1 root  wheel   4.9M Feb 11 17:12 ./cf/var/db/idpd/db/secdb_02.db-rw-r—–  1 root  wheel  …

Use your ssh key to encrypt / decrypt files

1

Create a file:echo ‘This is a sekret’ >/tmp/msg.txt Export public key:openssl rsa -in ~/private.pem -out /tmp/public.pub -outform PEM -pubout Encrypt file with public key (anyone can have this key):openssl rsautl -encrypt -inkey /tmp/public.pub -pubin -in /tmp/msg.txt -out /tmp/file.enc Decrypt the file with private key (only you should have the private key):openssl rsautl -decrypt -inkey ~/private.pem -in /tmp/file.enc -out /tmp/decrypted.txt Check…