Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096| ##TCP FLAGS## | |
| Unskilled Attackers Pester Real Security Folks | |
| ============================================== | |
| TCPDUMP FLAGS | |
| Unskilled = URG = (Not Displayed in Flag Field, Displayed elsewhere) | |
| Attackers = ACK = (Not Displayed in Flag Field, Displayed elsewhere) | |
| Pester = PSH = [P] (Push Data) | |
| Real = RST = [R] (Reset Connection) | |
| Security = SYN = [S] (Start Connection) |
| import ldap | |
| import sys | |
| LDAP_URI = 'ldap://ldap.example.com' | |
| SEARCH_BASE = 'ou=Example,dc=example,dc=com' | |
| QUERY = '(&(nickname=M*)(employeeType=fulltime)(|(!(departmentNumber=5*))(loginShell=/bin/bash)))' | |
| def ldap_search(ldap_uri, base, query): | |
| ''' |
| import cx_Oracle | |
| class OracleWrapper(object): | |
| """ | |
| A class for handling db operations | |
| """ | |
| def __init__(self, constring): | |
| self.constring = constring.strip() | |
| self.db_connection = cx_Oracle.connect(constring) |