Skip to content

Instantly share code, notes, and snippets.

@edisoncast
edisoncast / offsec.md
Created May 23, 2018 19:35 — forked from jivoi/offsec.md
Penetrating Testing/Assessment Workflow

Penetrating Testing/Assessment Workflow & other fun infosec stuff

https://github.com/jivoi/pentest

My feeble attempt to organize (in a somewhat logical fashion) the vast amount of information, tools, resources, tip and tricks surrounding penetration testing, vulnerability assessment, and information security as a whole*

@edisoncast
edisoncast / nginx.conf
Created April 8, 2018 21:41 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@edisoncast
edisoncast / nginx.conf
Created April 8, 2018 21:40 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
¿Qué es DevOps?
DevOps es la unión entre Developers y Operations.
Históricamente estos equipos trabajan independientemente uno del otro.
Operadores vivían en bash y developers hacían producto en algún lenguaje sin saber qué hacían los operadores y vice-versa.
Eventualmente esta separación llegó a un tope donde no podía escalar más. Tanto developers y _operadores _empezaron a sentir frustración y empezaron a comunicarse, colaborar e integrarse unos con otros.
Como efecto secundario de dicha unión, las metas se alinean y el ciclo/proceso de desarrollo, prueba y deployment se vuelve más sencillo y corto.
¿Qué no es DevOps?
Una persona nueva en el equipo.
Una herramienta.
Un nuevo equipo.
ssh-keygen -b 4096 --> generar una llave RSA de 4096 bits
ssh-copy-id -i .ssh/id_rsa.pub user@host --> copiar la llave al servidor
Crear archivo de configuración
Podemos crear un archivo para no tener que recordar todos los datos de ingreso al servidor, para esto debemos crear un archivo .ssh/config y colocar el contenido.
Host host HostName ip Port 22 User ubuntu IdentityFile ~/.ssh/llave.pem
fdisk -l --> Listar las particiones del disco duro

Keybase proof

I hereby claim:

  • I am edisoncast on github.
  • I am edisoncast (https://keybase.io/edisoncast) on keybase.
  • I have a public key ASC155Qsa94mF-ZFPXCDiS79hkTLMbSX9_xaaZC1AeEJ7wo

To claim this, I am signing this object:

git config --global alias.superlog "log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all"
Sign up for free