domingo, 14 de abril de 2019

HOW TO INSTALL VEGA SCANNER

On Ubuntu/Debian systems: sudo apt-get install libwebkitgtk-1.0
wget https://dist.subgraph.com/downloads/VegaBuild-linux.gtk.x86_64.zip

unzip VegaBuild-linux.gtk.x86_64.zip

cd VegaBuild-linux.gtk.x86_64

./Vega

sábado, 6 de abril de 2019

HOW TO INSTALL OSMEDEUS

apt-get update && apt-get upgrade
pip freeze or pip3 freeze
pip install dirhunt
pip install pycurl
apt install python3-pip
pip3 install --upgrade setuptools
pip3 install flask-mysqldb
pip install —upgrade setuptools
pip install gcloud
sudo apt install libcurl4-openssl-dev libssl-dev
pip install pycurl, sudo pip install pycurl, pip3 install pycurl, sudo pip3 install pycurl
git clone https://github.com/j3ssie/Osmedeus
cd Osmedeus
./install.sh

sudo apt-get install python-setuptools
sudo apt-get install python3-setuptools

after install, for execute scan in a specific domain you could do the following command:

./osmedeus.py -t example.com

source: https://github.com/j3ssie/Osmedeus
source for advanced commands: https://github.com/j3ssie/Osmedeus/wiki/Advanced-Usage

tested on  18.04.2 LTS bionic

quarta-feira, 27 de março de 2019

How to Disable WPAD in Windows

To disable WPAD in Windows, you'll need to make an easy registry edit, as StackExchange user laktak points out:

Click the Start button, and in the search field, type in "regedit", then select "regedit.exe" from the list of results.
Navigate through the tree to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Wpad.
Once you have the "Wpad" folder selected, right click in the right pane, and click on "New -> DWORD (32-Bit Value)".
Name this new value "WpadOverride".
Double click the new "WpadOverride" value to edit it.
In the "Value data" field, replace the "0" with a "1", then click "OK".
Reboot the computer.

sexta-feira, 8 de março de 2019

HOW TO INSTALL Deutsche Telekom AG Honeypot Project


How to install Tpot t-Mobile

Requirements:
Ubuntu 18 lts
Git hub installed


Step 1:

Cd /tpot
Chmod 777 install.sh

./install.sh —type=user

Step 2:
Define user and password about the access the unit:
User: <USER>
Pass: <PASS>

Step 3: 
Allow the access by the ports:

Ssh in server: 64295
Web access: https://<your.ip>:64297
Obs, i`m recommend open all the ports


source: http://dtag-dev-sec.github.io/mediator/feature/2017/11/07/t-pot-17.10.html

terça-feira, 12 de fevereiro de 2019

HOW TO CREATE A SCRIPT FOR CONNECT SSH AUTOMATICALY

First:
apt-get install sshpass
touch ssh_server.sh
vi ssh_server.sh

if is default port:

sshpass -p "YOURPASS" ssh -o StrictHostKeyChecking=no <YOUR_USER>@<YOUR_IP>

if is necessary set especif port:

sshpass -p "YOURPASS" ssh -o StrictHostKeyChecking=no <YOUR_USER>@<YOUR_IP> -p<YOUR_PORT>

sábado, 12 de janeiro de 2019

HOW TO ENCRYPT AND DECRYPT FILE USING PGPTOOL FOR UBUNTU

First, download file: https://pgptool.github.io/

for ubuntu: https://github.com/pgptool/pgptool/releases/download/0.5.1.0/pgptoolgui-0.5.1.0.zip

unzip file downloaded and access this folder: pgptoolgui-0.5.1.0.zip
after that execute this command:
java -jar pgptoolgui-0.5.1.0.jar

now in this case execute follow the steps:

1) define the root password, by the option above >> Create << and set file and personal of information how: name, email  and password in my case was create the password xuxa@123





2) set encryption file







3) for decrypt file follow, decrypt file and set choose an than set the password






HOW TO DECRYPT FILE BY OPENSSL USING PRIVATE KEY FOR UBUNTU

first install openssl, after that execute this command:

string command:

openssl rsautl -decrypt -inkey ChavePrivada.key -in Criptograma -out Criptograma.decrpt

description string commands:

openssl rsautl <<< for start the decrypt file
-decrypt            << for decrypt file request
-inkey               << for set private key
-in                    << for set cripto file
-out                 << for registry output file decrypt




for check the valid cert before just execute:

openssl  rsa -in ChavePrivada.key -check

sexta-feira, 23 de novembro de 2018

quinta-feira, 8 de novembro de 2018

HOW TO FIX SHUTTER PRINTER EDIT FUNCTION

wget https://launchpad.net/ubuntu/+archive/primary/+files/libgoocanvas-common_1.0.0-1_all.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/libgoocanvas3_1.0.0-1_amd64.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/libgoo-canvas-perl_0.06-2ubuntu3_amd64.deb

dpkg -i libgoocanvas-common_1.0.0-1_all.deb
dpkg -i libgoocanvas3_1.0.0-1_amd64.deb
dpkg -i libgoo-canvas-perl_0.06-2ubuntu3_amd64.deb

apt install libappindicator-dev
apt install libgoo-canvas-perl


sudo apt-get install -f
shutdown -r now