Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View cyb3rko's full-sized avatar

Niko Diamadis cyb3rko

View GitHub Profile
@cyb3rko
cyb3rko / CountryFlags.kt
Last active March 31, 2024 23:23
Get to flag unicode as String and use it anywhere. (Kotlin rewrite of https://gist.github.com/BurakDizlek/9eb54a0245a765dbdd312148f1c96d7f)
object CountryFlags {
private val A = getEmojiByUnicode(0x1F1E6)
private val B = getEmojiByUnicode(0x1F1E7)
private val C = getEmojiByUnicode(0x1F1E8)
private val D = getEmojiByUnicode(0x1F1E9)
private val E = getEmojiByUnicode(0x1F1EA)
private val F = getEmojiByUnicode(0x1F1EB)
private val G = getEmojiByUnicode(0x1F1EC)
private val H = getEmojiByUnicode(0x1F1ED)
private val I = getEmojiByUnicode(0x1F1EE)
@cyb3rko
cyb3rko / result.md
Created September 5, 2021 17:20
Password Strength Estimation Result

Analyzed with Nbvcxz

Password Basic Score (0-4) Entropy (0-multiple hundreds)
fuVkHY2U 4 36.225006121875005
@cyb3rko
cyb3rko / PasswordAnalysis.kt
Created September 5, 2021 17:18
Password Strength Estimation Script - Top 200 of 2020 (without additional dictionary)
import me.gosimple.nbvcxz.Nbvcxz
import java.io.File
fun main() {
val passwords = mutableListOf<String>()
File("my_passwords.txt").useLines { lines -> lines.forEach { passwords.add(it) }}
val nbvcxz = Nbvcxz()
File("results.csv").printWriter().use { out ->
@cyb3rko
cyb3rko / results.md
Last active September 5, 2021 17:12
Password Strength Estimation Results - Top 200 of 2020

Password Strength Estimation - Top 200 most common passwords of 2020

Analyzed with Nbvcxz
Password list source: https://nordpass.com/most-common-passwords-list/

Rank Password Basic Score (0-4) Entropy (0-multiple hundreds)
1 123456 0 0.0
2 123456789 0 2.321928094887362
3 picture1 1 12.476746203939467
@cyb3rko
cyb3rko / google-services.json
Created August 6, 2020 07:47
Excerpt of one of my google-services.json file for demonstration purposes
{
"project_info": {
"project_number": "504782401236",
"firebase_url": "https://logviewerforopenhab.firebaseio.com",
"project_id": "logviewerforopenhab",
"storage_bucket": "logviewerforopenhab.appspot.com"
},
"client": [
{
"client_info": {
@cyb3rko
cyb3rko / .gitignore
Last active August 5, 2020 22:59
"google-services.json" entry in official gitignore
...
# Google Services (e.g. APIs or Firebase)
# google-services.json
...
@cyb3rko
cyb3rko / google-services.json
Last active August 5, 2020 23:00
Excerpt of an example "google-services.json" file
{
"project_info": {
"project_id": "mockproject-1234",
"project_number": "123456789000",
"name": "FirebaseQuickstarts",
"firebase_url": "https://mockproject-1234.firebaseio.com"
},
"client": [
{
"client_info": {