Skip to content
July 21, 2017 / alancads

Working with new RiseUp VPN Red method in OpenVPN

1 – Dowload and install Open VPN for Android or Windows

https://openvpn.net/index.php/open-source/downloads.html

https://play.google.com/store/apps/details?id=de.blinkt.openvpn

2 – Paste the riseup.ovpn and save it to C:\Program Files\OpenVPN\config\

##
## REQUIRED
##

client

cipher AES-256-CBC
auth SHA256

remote 198.252.153.226 80
# alternately:
# remote vpn.riseup.net 443
# remote vpn.riseup.net 80

dev tun
proto udp
# alternately (try instead if udp doens’t work):
# proto tcp

auth-user-pass
# alternately:
# auth-user-pass ~/vpn/auth.txt

<ca>
—–BEGIN CERTIFICATE—–
MIIF2jCCA8KgAwIBAgIIVogyQTSIzc8wDQYJKoZIhvcNAQELBQAwgYYxGDAWBgNV
BAMTD1Jpc2V1cCBOZXR3b3JrczEYMBYGA1UEChMPUmlzZXVwIE5ldHdvcmtzMRAw
DgYDVQQHEwdTZWF0dGxlMQswCQYDVQQIEwJXQTELMAkGA1UEBhMCVVMxJDAiBgkq
hkiG9w0BCQEWFWNvbGxlY3RpdmVAcmlzZXVwLm5ldDAiGA8yMDE2MDEwMjIwMjU0
MFoYDzIwMjYwMzMwMjAyNjAxWjCBhjEYMBYGA1UEAxMPUmlzZXVwIE5ldHdvcmtz
MRgwFgYDVQQKEw9SaXNldXAgTmV0d29ya3MxEDAOBgNVBAcTB1NlYXR0bGUxCzAJ
BgNVBAgTAldBMQswCQYDVQQGEwJVUzEkMCIGCSqGSIb3DQEJARYVY29sbGVjdGl2
ZUByaXNldXAubmV0MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAw2VV
uoz4xqeB1ROIwXBRaj0prOqEFX89A7+2rslGRfjM8NPHyBLGleoHTK3DPwadtQeg
ulaEOAjM5EMXTEX/o9H46L6h729HUWPCwVssvvOjyxTyGJDf7Ihd/Ab7ODtlJSyc
g31aXMioA5pGz5QnS3VGz4nE9+NL+jobc/NbhaacsEPR/7xO7meRNu/1S+YiHK1y
BSVrfap3X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4tSNxF0Z94uSVUoXCG9WZLf8q
MfsGesYiR/qLnLn3MfAyWm3OVOUvGzczDE2T8VvY7rXc2+8ra5aK0TNAgEz9ey6D
/dGzM1JCCe1A08s+2+eRX//pmqmOCoGrY7zwIVS2T249h6iIMM9yT0C3ZXRoTnVN
osyidOkVuQr0YK6shJ0WaK4F1MktdjOZKPoIc9QLw+TrSU2hfyla36T0bNWMC/TJ
YtxDI+d1jIFZ7zMmts4=
—–END CERTIFICATE—–
</ca>

##
## OPTIONAL
##

nobind
persist-tun
persist-key
resolv-retry infinite
remote-cert-tls server
script-security 0
# enable only if your system supports TLS 1.2
# tls-version-min 1.2

Font: https://riseup.net/en/vpn/vpn-red/riseup.ovpn

3 – OpenVPN GUI and connect in riseup.ovpn

4 – Test in https://ipleak.net and enjoy your tunneling.

Advertisements
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