This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| These are all the useful commands I can think of right now that you don't need | |
| to have root privileges to run. Some will be useful for Werewolves, others | |
| might be useful for CtF contests, for the rest, who knows. | |
| The five most important commands in Linux are: | |
| apropos - search the manual page names and descriptions | |
| help - bash built-in commands, see bash | |
| info - readable online documentation | |
| man - an interface to the on-line reference manuals | |
| whatis - display manual page descriptions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import "fmt" | |
| // Single Responsibility Principle: | |
| // Each struct has only a single responsibility. | |
| // User struct represents a user in the system. | |
| type User struct { | |
| ID int | |
| FirstName string |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from lxml import etree, objectify | |
| import sys | |
| import argparse | |
| import re | |
| import os.path | |
| import datetime | |
| def f_colorise(string, color): | |
| colors = { | |
| 'red': '\033[91m', |
OlderNewer