I hereby claim:
- I am gmassawe on github.
- I am gmassawe (https://keybase.io/gmassawe) on keybase.
- I have a public key ASCJL2kAGnJa87jApVjSz9XKD8leCdmAopqGCsm2e0HuyAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Enable Windows Subsystem for Linux | |
/mnt/c$ curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && chmod 755 msfinstall && ./msfinstall |
#sudo make-ssl-cert generate-default-snakeoil --force-overwrite | |
locations: | |
/etc/ssl/certs/ssl-cert-snakeoil.pem | |
/etc/ssl/private/ssl-cert-snakeoil.key |
netsh advfirewall firewall add rule dir=in action=block protocol=UDP localport=137 name="Block_UDP-137" |
<# | |
.SYNOPSIS | |
Script to check file change date and time | |
.NOTES | |
Version: 1.0 | |
Author: George Massawe | |
Creation Date: 03/18/2018 | |
Purpose/Change: Initial script development | |
#> |
#!/bin/bash | |
# Help menu | |
print_help() { | |
cat <<-HELP | |
This script is used to fix permissions of a Drupal installation | |
you need to provide the following arguments: | |
1) Path to your Drupal installation. | |
2) Username of the user that you want to give files/directories ownership. |
Core | |
==== | |
Directories | |
----------- | |
modules, themes | |
Ownership |
How to clear an ASA`s configuration | |
==================================== | |
1. Reboot the device | |
2. On boot hit `escape` so that you break the normal startup process and enter | |
ROMMON. | |
3. Change the current confreg so that you can bypass the current startup config | |
sing the command: |
Change MySQL root password on Ubuntu Server | |
============================================ | |
~$ sudo service mysql stop | |
~$ sudo mysqld_safe --skip-grant-tables & | |
~$ sudo mysql -u root | |
> use mysql; |