Tag: backup_md

Exam prep

ping 8.8.8.8dhcp get address dhclient eth0 -v sysctl -A  …. print the whole list of system settings use users: compgen -u/etc/sysctl.conf : stored here /etc/hostname – hostname of the machine /etc/hosts – basic translation host name <-> ip address DNS /etc/bind named-checkconf service bind9 status systemctl status bind9.service -l dig @127.0.0.1 courses.cs.ut.ee nslookup est //existance of TLD est Enable auto-starting the bind9:# systemctl...

Intro to kotlin

by Anton Arhipov, JetBrains, developer Advocate https://www.facebook.com/events/608715936270457/ possibility to reuse code between Java and JShttps://www.coursera.org/learn/kotlin-for-java-developers?https://github.com/antonarhipov/kotlin-dsl-example https://play.kotlinlang.org linux: kotlinc compilation to java: kotlinc main.kt -d main.jar variable declaration: val a : Stringfunction hello(name: String): String {println(“Hello $name”)} Goal of Kotlin: using good parts from different languages, not to invent new ones. possible to declare function inside function and pass it as...

Legal exam useful

BASICS:https://treaties.un.org/doc/publication/ctc/uncharter.pdf Article 2 (4)All Members shall refrain in their international relations from the threat or use of force against the territorial integrity or political independence of any state, or in any other manner inconsistent with the Purposes of the UnitedNationsArticle 51Nothing in the present Charter shall impair theinherent right of individual or collective selfdefenseif an armed attack occurs against a...

Information gathering & reconnaissance

Passive (DNS? Social Media accounts),Active Vulnerabilities identificationadvanced hackers use tools that produce less traffic Exploitation -exploit: piece of software which takes advantage of vulnerabilities– Web archives: https://archive.org/WhoisSearch enginesShodanMetadata of documentsIP and port scanning traceroute : 3 different packets send to the next IP. that idicates reachability traceroute: request timed out in the middle of path: this host is unreacahble but other...