Τετάρτη 4 Νοεμβρίου 2020

What i am doing in 2021

Done So Far:

  1. Getting and Cleaning Data (John Hopkins University)
  2. Getting Started with R Studio (Coursera Project)
  3. Project Management Foundations - LinkedIn
  4. Project Management Foundations: Ethics - LinkedIn
  5. Project Management Foundations: Schedules - LinkedIn
  6. Project Management Foundations: Teams - LinkedIn
  7. Project Management Foundations: Stakeholders - LinkedIn
  8. CCNA Recertification
  9. AZ-900 Azure Fundamentals (Certification)
  10. MS-900 Microsoft 365 Fundamentals (Certification)

Books

  1. Sweet Tooth - Ian McEwan
  2. Greece: Biography of a Modern Nation: Beaton, Roderick
  3. March Violets - Philip Kerr
  4. The President is Missing
  5. Καρδιά από Πάγο - Jonathan Kellerman

Series

  1. Defending Jacob - Season 1
  2. Big Little Lies - Season 1
  3. Big Little Lies - Season 2
  4. Catastrophe - Season 1
  5. Catastrophe - Season 2
  6. Self Made: Inspired by the Life of Madam C.J. Walker
  7. Little Fires Everywhere - Season 1
  8. Perry Mason - Season 1
  9. Seinfeld - Season 7
  10. Lupin - Season 1
  11. The Honourable Woman (2014)
  12. Catastrophe - Season 3
  13. Narcos Mexico - Season 2
  14. Catastrophe - Season 4
  15. The Shadow line (2011)
  16. Mare of Easttown  - Season 1
  17. Hunters - Season 1
  18. Seinfeld - Season 8
  19. Seinfeld - Season 9
  20. Hunters - Season 1
  21. Ted Lasso - Season 2
  22. Only Murders in the Building - Season 1
  23. The Mandalorian - Season 2
  24. The Chair - Season 1

Movies (100 movies)

  1. Locked Down (2021)
  2. El Robo del Siglo (2020)
  3. Playing it Cool (2014)
  4. A Rainy Day in New York (2019)
  5. Harry Potter and the Chamber of Secrets (2002)
  6. Book Club (2018)
  7. The Zookeeper's wife (2017)
  8. Boss Level (2020)
  9. NomadLand (2020)
  10. Irresistible (2020)
  11. Happiest Season (2020)
  12. The invisible man (2020)
  13. Kajillionaire (2020)
  14. I Tonya (2017)
  15. Run Hide Fight (2020)
  16. The Mauritanian (2020)
  17. I Care a Lot (2020)
  18. The Little Things (2021)
  19. The White Tiger (2021)
  20. Just Mercy (2019)
  21. Meet Dave (2008)
  22. Harry Potter and the Order of the Phoenix (2007)
  23. Private Life (2018)
  24. Miracle in Cell No.7 (2013)
  25. The Trial of the Chicago 7 (2020)
  26. The 12th Man (2017)
  27. Tenet (2020)
  28. The Collini Case (2019)
  29. Mean Girls (2004)
  30. Zimna wojna  - Cold War (2018)
  31. Cold in July (2014)
  32. The Catcher was a spy (2018)
  33. 30 minutes or less (2011)
  34. Nobody (2021)
  35. The map of tiny perfect things (2021)
  36. Godzilla vs. Kong (2021)
  37. The Courier (2020)
  38. The Marksman (2021)
  39. Stowaway (2021)
  40. Minari (2020)
  41. Harry Potter and the Half-Blood Prince (2009)
  42. The virtuoso (2021)
  43. Without Remorse (2021)
  44. Crisis (2021)
  45. Sylvie's Love (2020)
  46. Where'd You Go, Bernadette (2019)
  47. Venom (2018)
  48. 18 Regali (2020)
  49. Les souvenirs (2014)
  50. Moral Kombat (2021)
  51. Those who wish me dead (2021)
  52. Truman (2015)
  53. Army of the Dead (2021)
  54. Wrath of man (2021)
  55. In front of others (2016)
  56. A walk in the woods (2015)
  57. The Comeback Trail (2021)
  58. The Ice Road (2021)
  59. Free Fire (2016)
  60. Jusqu'à la garde - Custody (2017)
  61. Ôtez-moi d'un doute (2017)
  62. Out of Death (2021)
  63. La douleur (2017)
  64. Otez-moi d'un doute (2017)
  65. Finding you (2021)
  66. Midnight in the Switchgrass (2021)
  67. Ride Lonesome (1959)
  68. Uncut Gems (2019)
  69. Kingsman: The Golden Circle (2017)
  70. Brimstone (2016)
  71. Fatman (2020)
  72. A Quiet Place - Part II (2020)
  73. Zombieland: Double Tap (2019)
  74. Revenge (2017)
  75. Hostiles (2017)
  76. Rifkin's Festival (2020)
  77. Dream Horse (2020)
  78. Just for the summer (2020)
  79. Palmer (2021)
  80. 6 Underground (2019)
  81. Johnny English Strikes again (2011)
  82. What we did on our holiday (2014)
  83. Sleepover (2020)
  84. Something to talk about (1995)
  85. The protege (2021)
  86. Johnny English Reborn (2011)
  87. Stillwater (2021)
  88. Solo: A Star Wars Story (2018)
  89. The Suicide Squad (2021)
  90. Τhe Old Guard (2020)
  91. Late night (2019)
  92. Finding O'Hana (2021)
  93. Kate (2021)
  94. Blue Miracle (2021)
  95. Mank (2020)
  96. Old Henry (2021)
  97. Cry Macho (2021)
  98. Tinker, Tailor, Soldier, Spy (2011)
  99. Dolemite is my Name (2019)
  100. Respect (2021)
  101. Bad Education 
  102. Dune (2021)
  103. The Girl in the Spiders Web (2018)
  104. Free Guy (2021)
  105. Dangerous (2021)
  106. The Many Saints of Newark (2021)
  107. A Private War (2018)
  108. The Harder they fall (2021)
  109. French Exit (2020)
  110. Venom: Let There Be Carnage (2021)
  111. The Other Side of Hope (2017)
  112. 8-bit Christmas (2021)
  113. Red Notice (2021)
  114. The Big Short (2015)
  115.  A Boy called Christmas (2021)
  116. Joe Somebody
  117. Black Widow (2021)


Τρίτη 24 Μαρτίου 2020

Hackexercise #2

Problem Statement
Brute-force the following Caesar’s cipher, and find the plaintext and key of the following message: kyvtrmrcipnzccrkkrtbwifdkyvefikynvjkrkeffe

Solution

alphabet = "abcdefghijklmnopqrstuvwxyz"

def encrypt(plaintext, k):
    ciphertext = []
    for c in plaintext:
        i = alphabet.index(c)
        j = (i + k) % len(alphabet)
        ciphertext.append(alphabet[j])
    return ''.join(ciphertext)

def decrypt(ciphertext, k):
    return encrypt(ciphertext, -k)
    
def brute_force(ciphertext):
    for i in range(0, len(alphabet)):
        print(i, decrypt(ciphertext, i))
    

brute_force("kyvtrmrcipnzccrkkrtbwifdkyvefikynvjkrkeffe")

Τετάρτη 11 Μαρτίου 2020

Hackexercise #1

Problem Statement
The function check_password(password) is used by a safe with 4-digits passwords, and is susceptible to timing attacks. More specifically, it takes it around 0.1 seconds to check one digit – so brute-forcing all the possible combinations will take around 1,500 hours. Can you implement a way to crack its password in less than a minute?


import time
import sys # ignore
sys.path.insert(0,'.') # ignore
from Root.pswd import real_password

def check_password(password): # Don't change it
    if len(password) != len(real_password):
        return False
    for x, y in zip(password, real_password):
        time.sleep(0.1) # Simulates the wait time of the safe's mechanism
        if int(x) != int(y):
            return False
    return True

def crack_password():
    password=[0,0,0,0]
    result=''
    
    for a in range(0,9):
        password[0] = a
        starti= time.time()
        check_password(password)
        end= time.time()
        if(end - starti >= 0.2):
            result += str(a)
            break
     
    for b in range(0,9):
        password[1] = b
        starti= time.time()
        check_password(password)
        end= time.time()
        if(end - starti >= 0.3):
            result += str(b)
            break
        
    for c in range(0,9):
        password[2] = c
        starti= time.time()
        check_password(password)
        end= time.time()
        if(end - starti >= 0.4):
            result += str(c)
            break
    
    for d in range(0,9):
        password[3] = d
        check_password(password)
        if(check_password(password)):
            result += str(d)
            break
        
    return(result)
        
print(crack_password())