sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/cabelo/xUbuntu_17.04/ /' > /etc/apt/sources.list.d/owasp-zap.list"
sudo apt-get update
sudo apt-get install owasp-zap
You can add the repository key to apt. run:
wget -nv https://download.opensuse.org/repositories/home:cabelo/xUbuntu_17.04/Release.key -O Release.key
sudo apt-key add - < Release.key
sudo apt-get update
procedure source:
https://software.opensuse.org/download.html?project=home%3Acabelo&package=owasp-zap
Recently this procedure doesn't work more because repository is not available.
and was do that:
# Java should be installed
# sudo apt-get install openjdk-7-jre-lib openjdk-7-jre-headless openjdk-7-jre icedtea-7-jre-jamvm icedtea-7-jre-cacao icedtea-7-plugin
# sudo update-alternatives --config java
mkdir ~/src/ && cd ~/src/
wget https://github.com/zaproxy/zaproxy/releases/download/2.5.0/ZAP_2.5.0_Linux.tar.gz
tar -xzvf ZAP_2.5.0_Linux.tar.gz
rsync -av ZAP_2.5.0/ /opt/zaproxy/
source: https://gist.github.com/fedir/f759c979489f8ab4bf2913dbbc4cdcb6
Blog Destined For Technology Users (Linux, Windows, Defensive,Offensive Security, etc)
sábado, 11 de novembro de 2017
domingo, 5 de novembro de 2017
HOW TO EXECUTE COMMAND FOR KASPERSKY ENDPOINT SECURITY FOR LINUX - UBUNTU
FOR SEE SOME CONTRACTS AND TERMS AND INSTALL DEFINITION:
cd /opt/kaspersky/kesl/doc
FOR EXECUTE BINARY FILES:
cd /opt/kaspersky/kesl/bin
list files:
fanotify-checker kesl-control kesl_launcher.sh kesl-setup.pl kesl-uninstall.pl wdserver
#LIST INFORMATION OF INSTALLED VERSION
./kesl-control -S
#RESULT:
Name : Kaspersky Endpoint Security 10 for Linux
Version : 10.0.0.3458
Key status : Valid
License expiration date : 2017-12-04
Backup state : No objects in backup
Backup space usage : Backup size is unlimited
Scan_My_Computer last run date : Never run
Anti-virus databases loaded : Yes
Anti-virus databases date : 2017-11-05 06:36:00
Anti-virus databases records : 11164094
Protection status : OAS enabled
KSN state : On
cd /opt/kaspersky/kesl/doc
ls
autoinstall.ini ksn_license.de ksn_license.en ksn_license.fr ksn_license.ru legal_notices.txt license.de license.en license.fr license.ru
for check configuration used for installation you can cat the file: autoinstall.ini
FOR EXECUTE BINARY FILES:
cd /opt/kaspersky/kesl/bin
list files:
fanotify-checker kesl-control kesl_launcher.sh kesl-setup.pl kesl-uninstall.pl wdserver
#LIST INFORMATION OF INSTALLED VERSION
./kesl-control -S
#RESULT:
Name : Kaspersky Endpoint Security 10 for Linux
Version : 10.0.0.3458
Key status : Valid
License expiration date : 2017-12-04
Backup state : No objects in backup
Backup space usage : Backup size is unlimited
Scan_My_Computer last run date : Never run
Anti-virus databases loaded : Yes
Anti-virus databases date : 2017-11-05 06:36:00
Anti-virus databases records : 11164094
Protection status : OAS enabled
KSN state : On
#LIST TASKS
./kesl-control -T --get-task-list
#RESULT
Number of tasks: 10
Name: File_Monitoring
ID : 1
Type : OAS
State : Started
Name: Scan_My_Computer
ID : 2
Type : ODS
State : Stopped
Name: Scan_File
ID : 3
Type : ODS
State : Stopped
Name: Boot_Scan
ID : 4
Type : BootScan
State : Stopped
Name: Memory_Scan
ID : 5
Type : MemoryScan
State : Stopped
Name: Update
ID : 6
Type : Update
State : Stopped
Name: Rollback
ID : 7
Type : Rollback
State : Stopped
Name: Retranslate
ID : 8
Type : Retranslate
State : Stopped
Name: License
ID : 9
Type : License
State : Started
Name: Backup
ID : 10
Type : Backup
State : Started
#RESUME TASK SELECTED
./kesl-control -T --resume-task <SET ID>
#CHECK DE SCHEDULE FROM THE TASK
./kesl-control -T --get-schedule <SET ID>
#GET SETTINGS OF TASK
./kesl-control -T --get-settings <SET ID>
sábado, 4 de novembro de 2017
HOW TO WORK USB DEVICES ON VIRTUAL BOX ON UBUNTU 17.10
sudo usermod -aG vboxusers <youruser>
sudo apt-get install gnome-system-tools
sudo apt install virtualbox virtualbox-guest-additions-iso
sudo apt install virtualbox-ext-pack
sudo apt-get install gnome-system-tools
restart your computer
sudo apt-get install gnome-system-tools
sudo apt install virtualbox virtualbox-guest-additions-iso
sudo apt install virtualbox-ext-pack
sudo apt-get install gnome-system-tools
restart your computer
domingo, 29 de outubro de 2017
HOW TO EDIT A WALLPAPER FOLDER AND DEFAULT FOLDER
ADD THIS FILDE CODE:
<wallpaper>
<name><NAME OF YOUR WALLPAPER></name>
<filename>/usr/share/backgrounds/<NAME OF YOUR WALLPAPER>.jpg</filename>
<options>zoom</options>
<pcolor>#000000</pcolor>
<scolor>#000000</scolor>
<shade_type>solid</shade_type>
</wallpaper>
INSIDE OF THIS FILE :
root@mac-os:/usr/share/gnome-background-properties# vi zesty-wallpapers.xmlMOVE YOUR WALLPAPER FOR THIS FOLDER
root@mac-os:/usr/share/backgrounds
and just try to change your wallpaper.
terça-feira, 10 de outubro de 2017
sexta-feira, 6 de outubro de 2017
HOW TO CLONE VIRTUAL MACHINE FROM ORACLE VM (VIRTUAL BOX)
After copy/ past your virtual machine, just open terminal and access the folder of virtual machine and execute this command:
VBoxManage internalcommands sethduuid <youmachine>.vdi
sexta-feira, 29 de setembro de 2017
HOW TO INSTALL GRAFANA IN UBUNTU 16.04 LTS AND INTEGRATE WITH GRAFANA
wget https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana_4.5.2_amd64.deb
sudo apt-get install -y adduser libfontconfig
sudo dpkg -i grafana_4.5.2_amd64.deb
sudo service grafana-server start
sudo update-rc.d grafana-server defaults
sudo systemctl enable grafana-server.service
http://<yourip>:3000/login
for access your grafana server :
http://<your.ip>:3000
default user: admin
defaul pass: admin
for integration with zabbix execute:
sudo grafana-cli plugins list-remote
sudo grafana-cli plugins install alexanderzobnin-zabbix-app
grafana-cli plugins install raintank-worldping-app
sudo apt-get install -y adduser libfontconfig
sudo dpkg -i grafana_4.5.2_amd64.deb
sudo service grafana-server start
sudo update-rc.d grafana-server defaults
sudo systemctl enable grafana-server.service
http://<yourip>:3000/login
for access your grafana server :
http://<your.ip>:3000
default user: admin
defaul pass: admin
for integration with zabbix execute:
sudo grafana-cli plugins list-remote
sudo grafana-cli plugins install alexanderzobnin-zabbix-app
plugins granafa installed:
terça-feira, 26 de setembro de 2017
HOW TO GRANT REMOTE ACCESS ON MYSQL 14.14 AND UBUNTU 16.04 LTS
Access you mysql server by terminal :
vi /etc/mysql/mysql.conf.d/mysqld.cnf
comment the line:
from: bind-address = 127.0.0.1
vi /etc/mysql/mysql.conf.d/mysqld.cnf
comment the line:
from: bind-address = 127.0.0.1
for: #bind-address = 127.0.0.1
execute: service mysql restart
after that, connect on your mysql server and execute this command:
GRANT ALL PRIVILEGES ON *.* TO '<YOURUSERNAME>'@'<YOUIPD>' IDENTIFIED BY '<YOUPASSWORD>' WITH GRANT OPTION;
SHOW GRANTS;
GRANT ALL PRIVILEGES ON *.* TO '<YOURUSERNAME>'@'<YOUIPD>' IDENTIFIED BY '<YOUPASSWORD>' WITH GRANT OPTION;
SHOW GRANTS;
LINUX COMMANDS
In terminal execute vi and if you want copy past line execute: Y Y P
For include start service: update-rc.d <linux service> enable/disable
For list services for list to start automatically: ls /etc/rc*.d
For check distr: lsb_release -a
HOW TO USE SQLCMD ON UBUNTU FOR QUERY MICROSOFT SQL
First
apt-get install -y libgss3
After download the mssodbc
execute download https://mega.nz/#!zM9x3DLZ
key for download:
!jFEs2CIynSBWLDMwmctXJsMM35DeIPn24EQj1rbQzWM
tar -zxvf msodbcsql-13.0.0.0.tar.gz
access the folder msodbcsql-13.0.0.0 for check if there are some library missing for start the instalation. execute this command:
ldd /lib64/libmsodbcsql-13.0.so.0.0
If there is no missing lib execute:
Accept the terms and waiting the installation.
After installation finish eheck if there is a lib msql installed:
For execute the test follow the command syntax:
detail syntax:
sqlcmd -S <yourserver>\\<yourdatabase>,<yourportsql> -U <youruser> -P <yourpassword> -i <yourscriptsql>.sql
Normaly the script sql is your query sql
apt-get install -y libgss3
After download the mssodbc
execute download https://mega.nz/#!zM9x3DLZ
key for download:
!jFEs2CIynSBWLDMwmctXJsMM35DeIPn24EQj1rbQzWM
tar -zxvf msodbcsql-13.0.0.0.tar.gz
access the folder msodbcsql-13.0.0.0 for check if there are some library missing for start the instalation. execute this command:
ldd /lib64/libmsodbcsql-13.0.so.0.0
If there is no missing lib execute:
Accept the terms and waiting the installation.
After installation finish eheck if there is a lib msql installed:
For execute the test follow the command syntax:
detail syntax:
sqlcmd -S <yourserver>\\<yourdatabase>,<yourportsql> -U <youruser> -P <yourpassword> -i <yourscriptsql>.sql
Normaly the script sql is your query sql
Assinar:
Postagens (Atom)

