Skip to content
September 29, 2016 / alancads

Best distro for IoT (Internet of Things) Snappy Ubuntu Core in Raspiberry Pi 2

O Snappy Ubuntu Core é o melhor sistema operacional baseado em Linux para Internet das coisas (IoT) e outras ferramentas. O sistema operacional possui um grande potencial para transformar quase tudo à nossa volta em dispositivos inteligentes, tais como roteadores, drones, cafeteiras, etc. O que torna ainda mais interessante é a forma como o software gerencia as atualizações e oferece segurança extra.

$ wget -c http://cdimage.ubuntu.com/ubuntu/releases/16.04/release/ubuntu-16.04-preinstalled-server-armhf+raspi2.img.xz && xzcat ~/Downloads/ubuntu-16.04-preinstalled-server-armhf+raspi2.img.xz | sudo dd of=/dev/mmcblk0 bs=32M status=progress && sync

3996704768 bytes (4.0 GB, 3.7 GiB) copied, 299.005 s, 13.4 MB/s
0+258042 records in
0+258042 records out
4000000000 bytes (4.0 GB, 3.7 GiB) copied, 299.327 s, 13.4 MB/s

Login: ubuntu
Pass: ubuntu

Font: https://developer.ubuntu.com/en/snappy/

 

 

 

September 27, 2016 / alancads

Android Studio in Debian 8

$ wget -c https://dl.google.com/dl/android/studio/ide-zips/2.2.0.12/android-studio-ide-145.3276617-linux.zip

Font: http://tools.android.com/download/studio/stable

$ unzip android-studio-ide-145.3276617-linux.zip

$ cd android-studio/bin

~/Downloads/android-studio/bin$./studio.sh

 

September 27, 2016 / alancads

Install Skype in Kali Linux x86_64

$ sudo dpkg –add-architecture i386
$ sudo apt-get update
$ wget -c http://ftp.br.debian.org/debian/pool/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u5_i386.deb
$ wget -c https://download.skype.com/linux/skype-debian_4.3.0.37-1_i386.deb
$ sudo dpkg -i libssl1.0.0_1.0.1t-1+deb8u5_i386.deb
$ sudo dpkg -i skype-debian_4.3.0.37-1_i386.deb
$ sudo apt-get -f install

September 27, 2016 / alancads

Adding PPA’s in Debian Linux

# apt-get install python3-software-properties apt-file

# apt-file update

# apt-file search add-apt-repository

# cd /usr/sbin

# vim add-apt-repository

#!/bin/bash
if [ $# -eq 1 ]
NM=`uname -a && date`
NAME=`echo $NM | md5sum | cut -f1 -d" "`
then
  ppa_name=`echo "$1" | cut -d":" -f2 -s`
  if [ -z "$ppa_name" ]
  then
    echo "PPA name not found"
    echo "Utility to add PPA repositories in your debian machine"
    echo "$0 ppa:user/ppa-name"
  else
    echo "$ppa_name"
    echo "deb http://ppa.launchpad.net/$ppa_name/ubuntu trusty main" >> /etc/apt/sources.list
    apt-get update >> /dev/null 2> /tmp/${NAME}_apt_add_key.txt
    key=`cat /tmp/${NAME}_apt_add_key.txt | cut -d":" -f6 | cut -d" " -f3`
    apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $key
    rm -rf /tmp/${NAME}_apt_add_key.txt
  fi
else
  echo "Utility to add PPA repositories in your debian machine"
  echo "$0 ppa:user/ppa-name"
fi

2 – Paste and save the file

# pwd
/usr/sbin
# chmod o+x add-apt-repository
# chown root:root add-apt-repository

3 – Enjoy!

# ./add-apt-repository ppa:noobslab/themes
noobslab/themes
Executing: /tmp/tmp.MXIP4f3ZtC/gpg.1.sh –keyserver
keyserver.ubuntu.com
–recv-keys
D530E028F59EAE4D

# cat /etc/apt/sources.list
deb http://ppa.launchpad.net/noobslab/themes/ubuntu trusty main
# apt-get update
# apt-get install application

September 26, 2016 / alancads

CUPS Driver SPL Samsung Printer in Debian

$ sudo apt-get install cups system-config-printer printer-driver-splix

$ sudo /etc/init.d/cups start

$ adduser youruser lpadmin

September 26, 2016 / alancads

Install Bettercap in Debian and Derivatives

$ sudo apt–get install build–essential ruby–dev libpcap–dev

$ sudo gem install bettercap;sudo gem update bettercap

September 9, 2016 / alancads

Automatically Install all Kali tools in Ubuntu Debian

Features

  • Add Kali linux repositories
  • Remove kali linux repositories
  • Install Kali linux tools

Requirements

  • Python 2.7
  • An operating system (tested on Ubuntu,Debian)

Installation

Usage

Font: https://github.com/LionSec/katoolin