Docker Compose v3 (example 1)
Git https://github.com/szalek/Docker/tree/master/company_shop version: '3' services: postgres-1-db: container_name: "postgres-1-db" build: ./postgres environment: POSTGRES_USER: '${DB_USER}'...
View ArticleOSI Model
https://www.youtube.com/watch?v=HEEnLZV2wGI https://www.youtube.com/watch?v=sVDwG2RdJho All People Seem To Need Data Processing
View ArticleXSS Shell
Standard XSS Attack Standard XSS Attack (Extended) Callback that confirm that XSS was executed or it will sent stolen data. XSS Shell give more possibility to play with user.
View ArticleDocker and Docker Compose (Azure Laboratory)
DOCKER INSTALLATION https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/ sudo apt-get update curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo...
View ArticleUbuntu 16.04 LTS & dnsenum
Docker https://hub.docker.com/r/szalek/pentest-tools/ docker pull szalek/pentest-tools docker run -it szalek/pentest-tools How to dnsenum google.com RUN apt-get update && \ apt-get install -y...
View ArticleUbuntu 16.04 LTS & tweep
Docker https://hub.docker.com/r/szalek/pentest-tools/ docker pull szalek/pentest-tools docker run -it szalek/pentest-tools How to tweep -u Sza1ek Run apt-get update && \ apt-get install -y git...
View ArticleUbuntu 16.04 LTS & digbit
Docker https://hub.docker.com/r/szalek/pentest-tools/ docker pull szalek/pentest-tools docker run -it szalek/pentest-tools How to digbit btbw.pl RUN apt-get update && \ apt-get install -y git...
View Articlebash geolocation
MY_IP=$(dig +short myip.opendns.com @resolver1.opendns.com) curl "http://freegeoip.net/json/$MY_IP"
View Articlehaveibeenpwned bash script
Repo https://github.com/szalek/haveibeenpwned/blob/master/haveibeenpwned.sh Installation git clone https://github.com/szalek/haveibeenpwned.git /home/haveibeenpwned && \ chmod +x...
View Articleuse docker without sudo
Error Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.32/containers/json: dial unix...
View Articledocker for angular-cli
Docker file FROM ubuntu:16.04 MAINTAINER szalek <szalek@btbw.pl> RUN apt-get update && \ apt-get -y upgrade && \ apt-get install -y vim && \ apt-get install -y curl...
View Articlescreen to gif (peek) (ubuntu)
sudo add-apt-repository ppa:peek-developers/stable sudo apt update sudo apt install peek
View ArticleReverse Engineering – Detect It Easy
https://github.com/horsicq/Detect-It-Easy http://ntinfo.biz/
View ArticleWebGoat and docker
Install docker https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-16-04 Install webgoat-7.1 https://hub.docker.com/r/webgoat/webgoat-7.1/ run docker run -p...
View ArticlePasswords
https://github.com/danielmiessler/SecLists/tree/master/Passwords https://wiki.skullsecurity.org/index.php?title=Passwords https://dazzlepod.com/site_media/txt/passwords.txt
View ArticleAT&T syntax and Intel syntax
#include <stdio.h> int main() { int i; for(i=0; i < 10; i++) { puts("Hello, world!\n"); } return 0; } objdump -D firstprog | grep -A15 main.: > main_dump_att.txt 000000000040052d...
View ArticleUseragent string
http://www.useragentstring.com/ http://www.useragentstring.com/pages/useragentstring.php http://www.useragentstring.com/pages/useragentstring.php?name=All...
View ArticleDocker postgres & wildfly
JEE Project – http://www.blog.btbw.pl/java/jee-and-flywaydb-wildfly-10-1-0-final/ – https://github.com/szalek/JEE-Hibernate-Deltaspike-Flywaydb All files for this Example you can find on github –...
View ArticleDocker postgres & populate data
Build custom image Dockerfile FROM postgres:9.6.5 ENV POSTGRES_USER docker ENV POSTGRES_PASSWORD docker ENV POSTGRES_DB docker ADD init.sql /docker-entrypoint-initdb.d/ init.sql -- CREATE USER docker;...
View Article