*.cloudapp.net *.cloudapp.azure.com *.azurewebsites.net *.blob.core.windows.net *.cloudapp.azure.com *.azure-api.net *.azurehdinsight.net *.azureedge.net *.azurecontainer.io
Migrations & Seeding
What are migrations??
Migrations are a way to make database changes or updates, like creating or dropping tables, as well as updating a table with new columns with constraints via generated scripts. We can build these scripts via the command line using
knex command line tool.
To learn more about migrations, check out this article on the different types of database migrations!
|1. Browse to https://bgp.he.net/|
|2. Search for company name ie. Acmecorp|
|3. On search results page, copy this snippet into Developer Console for an easily copy/paste(able) list of IP ranges w/ new line separators|
|let links = document.getElementsByTagName('a');|
|let asnExtractList = "";|
Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
Docker CE Install
sudo amazon-linux-extras install docker sudo service docker start sudo usermod -a -G docker ec2-user
Setup redis-cli without the whole Redis Server on AWS EC2
This fast tutorial will teach you how to install
redis-clion AWS EC2 without having to install the whole Redis Server. Firstly, SSH into your EC2 instance and run the following command:
$ sudo yum install gcc
This may return an "already installed" message, but that's OK. After that, just run:
$ wget http://download.redis.io/redis-stable.tar.gz && tar xvzf redis-stable.tar.gz && cd redis-stable && make && sudo cp src/redis-cli /usr/local/bin/ && sudo chmod 755 /usr/local/bin/redis-cli
Networking Survival Kit
You are a security professional that has been hired to carry out an investigation into a recent security breach of Arch industries. Upon initial scan of equipment, you have determined their system is severly outdated and contains none of the standard network cli tools and applications you normally have to perform your duties. Guess you will have to build your own!!!!!!
You are to use your knowledge of networking and scripting to build basic networking tools in order to complete your job. Below are your details if you choose to accept.