Skip to content

Instantly share code, notes, and snippets.

View atasky's full-sized avatar
👀
I may be slow to respond.

ataSky atasky

👀
I may be slow to respond.
View GitHub Profile
@atasky
atasky / create_ssl_client_certificate.sh
Created June 27, 2019 17:01 — forked from marcelog/create_ssl_client_certificate.sh
Create SSL certificates for your clients by using your own CA
openssl genrsa -des3 -out client.key 4096
openssl req -new -key client.key -out client.csr
openssl x509 -req -days 3650 -in client.csr -CA ca.crt -CAkey ca.key -set_serial 01 -out client.crt
@atasky
atasky / sha1_fingerprint_ssl_certificate.sh
Created June 27, 2019 17:07 — forked from marcelog/sha1_fingerprint_ssl_certificate.sh
Output SHA1 fingerprint for an SSL certificate
#!/bin/bash
openssl x509 -noout -fingerprint -sha1 -inform pem -in client.crt
@atasky
atasky / xavier-lxc-centos7.md
Created July 19, 2019 05:03 — forked from fwyzard/xavier-lxc-centos7.md
Install CentOS 7 in an LXC/LXD container on an NVIDIA Xavier

Install and configure LXD

Install LXD

sudo snap install lxd

Perform the initial configuration

sudo lxd init
@atasky
atasky / centos-install-kernel-debuginfo.sh
Created August 4, 2019 02:44 — forked from jarek-przygodzki/centos-install-kernel-debuginfo.sh
CentOS 7 - How to install kernel-debuginfo
yum --enablerepo=base-debuginfo install -y kernel-debuginfo-$(uname -r)
@atasky
atasky / sources.list
Created September 21, 2019 17:03 — forked from rohitrawat/sources.list
Ubuntu 16.04 Xenial default /etc/apt/sources.list
#deb cdrom:[Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)]/ xenial main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
@atasky
atasky / iddqd.yar
Created September 23, 2019 02:57 — forked from Neo23x0/iddqd.yar
IDDQD - Godmode YARA Rule
/*
_____ __ __ ___ __
/ ___/__ ___/ / / |/ /__ ___/ /__
/ (_ / _ \/ _ / / /|_/ / _ \/ _ / -_)
\___/\___/\_,_/_/_/__/_/\___/\_,_/\__/
\ \/ / _ | / _ \/ _ | / _ \__ __/ /__
\ / __ |/ , _/ __ | / , _/ // / / -_)
/_/_/ |_/_/|_/_/ |_| /_/|_|\_,_/_/\__/
Florian Roth - v0.4.1 August 2019
@atasky
atasky / firewall.txt
Created November 10, 2019 08:37
Open Source Firewall List
https://en.wikipedia.org/wiki/List_of_router_and_firewall_distributions
This is a list of operating system distributions designed for use as the operating system of a computer acting as a router and/or firewall.
Name Status Type Architecture License Cost Description
Alpine Linux Active Linux distribution x86, x86-64, ARM Open source Free Linux distribution running from a RAM drive. Its original target was small appliances like routers, VPN gateways, or embedded x86 devices. However, it supports hosting other Linux guest OSes under LXC control, making it an attractive hosting solution as well. Uses Busybox and musl.
Bifrost Network Project Active Linux distribution x86 ? Free The goal of this project is to find out stability, performance, filter capabilities, administration, computer security, scalability and development possibilities of a Linux-based streamlined router/firewall system. Recent distributions are being used as pure Internet routers, equipped with 1 GB or more of internal memory.
BSD Router Proj
Getting Started
Https://wizardforcel.gitbooks.io/web-hacking-101/content/ Web Hacking 101 Chinese
Https://wizardforcel.gitbooks.io/asani/content/ Easy to get Android security Chinese version
Https://wizardforcel.gitbooks.io/lpad/content/ Android penetration test study manual Chinese version
Https://wizardforcel.gitbooks.io/kali-linux-web-pentest-cookbook/content/ Kali Linux Web Penetration Test Cheats Chinese Version
Https://github.com/hardenedlinux/linux-exploit-development-tutorial Linux exploit Development Primer
Https://www.gitbook.com/book/t0data/burpsuite/details burpsuite actual guide
Http://www.kanxue.com/?article-read-1108.htm=&winzoom=1 Penetration Testing Node.js Application
Https://github.com/qazbnm456/awesome-web-security Web Security Information and Resources List
#!/bin/bash
grep -E -o "(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/(1[0-9]|2[0-9]|3[0-9]?)" filename.txt
# Out: 15.24.11.0/24
# grep -Eo '212\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' file.txt
# Out: 212.*.*.*
grep -Eo '(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)' mysip.txt | sort -u > good.txt
@atasky
atasky / ipfire-ssh-keygen.sh
Created December 29, 2019 21:18
IPFire ssh enable key
#!/bin/bash
#
# ssh-keyput -- set up passwordless openssh login.
#
# Copyright (C) 2001, 2002, 2006 by SWsoft.
# Author: Kir Kolyshkin
#
# This script is used to put your public ssh keys to another host's
# authorized_keys[2], so you will be able to ssh login without entering
# a password. Key pairs are generated if needed, and connectivity