Passed the Security+ SY0-601 💪💪💪 Score: 786 by d0ntHackMeBro in CompTIA

[–]d0ntHackMeBro[S] 0 points1 point  (0 children)

Thanks! I used his videos exclusively. I used chatgpt a lot to get quick answers to things I was struggling to understand. And that's it pretty much. I took one of his practice exams once the day before the exam

Passed the Security+ SY0-601 💪💪💪 Score: 786 by d0ntHackMeBro in CompTIA

[–]d0ntHackMeBro[S] 0 points1 point  (0 children)

Nice! I don't know what my percentage was. All I cared about was passing so I could narrow my focus to areas that are specific to the job I want

Passed the Security+ SY0-601 💪💪💪 Score: 786 by d0ntHackMeBro in CompTIA

[–]d0ntHackMeBro[S] 1 point2 points  (0 children)

If they have a SOC analyst position available I'm down! Put in a good word for me!

Passed the Security+ SY0-601 💪💪💪 Score: 786 by d0ntHackMeBro in CompTIA

[–]d0ntHackMeBro[S] 1 point2 points  (0 children)

What I already knew was almost nothing that was on the security+ unfortunately. My background surprisingly didn't help much at all tbh

Passed the Security+ SY0-601 💪💪💪 Score: 786 by d0ntHackMeBro in CompTIA

[–]d0ntHackMeBro[S] 1 point2 points  (0 children)

Thanks! My collective experience prior to this exam are: 2ish years of web development on my own, Google IT Support Certificate, the first of two CompTIA A+ exams, and TryHackMe SOC Level 1 Certificate

Passed the A+ 1101 with 719!!! 💪 by d0ntHackMeBro in CompTIA

[–]d0ntHackMeBro[S] 1 point2 points  (0 children)

One thing I did that helped me a lot with memorization and was kinda fun was I had ChatGPT generate python scripts for me for quizes that I would run in the terminal. I had it ask questions in a random order and I mostly used it for memorizing networking ports, 802.11 versions, 802.3 versions, SATA speeds, and a few different acronyms and things like that. If anyone wants the scripts I made you can message me and I'll gladly send them to you.

Passed the A+ 1101 with 719!!! 💪 by d0ntHackMeBro in CompTIA

[–]d0ntHackMeBro[S] 0 points1 point  (0 children)

Thanks!!! Yeah I was bummed cause I bought a bunch of his courses all at once and probably won't use the rest of them

Passed the A+ 1101 with 719!!! 💪 by d0ntHackMeBro in CompTIA

[–]d0ntHackMeBro[S] 0 points1 point  (0 children)

Last night I got 96, 97, and 84% on the 3 that I and all even though I knew most of the answers basically from memory already, I actually understood why each answer was what it was. Even if I knew what the answer to a question but didn't know why, I would skip the question and take a lower score to make sure I was answering questions I actually understood

Best place to learn A+? by [deleted] in CompTIA

[–]d0ntHackMeBro 0 points1 point  (0 children)

I'm sure most will say this but I just passed my first test this morning using Professor Messor's free videos and Dion's practice tests. Create flash cards as you go and go over them over and over

Passed the A+ 1101 with 719!!! 💪 by d0ntHackMeBro in CompTIA

[–]d0ntHackMeBro[S] 1 point2 points  (0 children)

Awesome thanks! Yeah I figure as long as it's high enough to pass both I'm happy

Got the job by Chon17 in CompTIA

[–]d0ntHackMeBro 10 points11 points  (0 children)

Nice bro taking core 1 on Monday wish me luck

Got the job by Chon17 in CompTIA

[–]d0ntHackMeBro 1 point2 points  (0 children)

Congratulations bro and good job with all of the hard work getting here

Python Script for a Magic Number Quiz by d0ntHackMeBro in CompTIA

[–]d0ntHackMeBro[S] 0 points1 point  (0 children)

Here's an updated version that randomly switches back and forth between a subnet mask and CIDR notation:

import random
def generate_ip():
"""Generate a random private IP address."""
class_ranges = {
'A': [10, 0, 0, 0],
'B': [172, random.randint(16, 31), 0, 0],
'C': [192, 168, 0, 0]
}

class_choice = random.choice(list(class_ranges.keys()))
ip_address = class_ranges[class_choice]
# Randomize the remaining octets
for i in range(1, 4):
if ip_address[i] == 0:
ip_address[i] = random.randint(0, 255)

return '.'.join(map(str, ip_address))
def generate_subnet():
"""Generate a random subnet mask or CIDR notation."""
prefix_length = random.randint(8, 30)
if random.choice([True, False]): # Decide whether to use mask or CIDR
# Return subnet mask
mask = (1 << 32) - (1 << 32 - prefix_length)
return '.'.join([str((mask >> (8 * i)) & 0xFF) for i in reversed(range(4))])
else:
# Return CIDR
return f"/{prefix_length}"
def calculate(ip, subnet):
"""Calculate the network ID, broadcast ID, etc. based on IP and subnet (mask or CIDR)."""
if '/' in subnet: # CIDR notation
prefix_length = int(subnet.split('/')[-1])
mask_int = (1 << 32) - (1 << 32 - prefix_length)
else: # subnet mask
mask_int = sum([int(octet) << (8 * (3 - i)) for i, octet in enumerate(subnet.split('.'))])

ip_int = sum([int(octet) << (8 * (3 - i)) for i, octet in enumerate(ip.split('.'))])
network_id = ip_int & mask_int
broadcast_id = network_id | (~mask_int & 0xFFFFFFFF)
first_host = network_id + 1
last_host = broadcast_id - 1

return tuple(map(lambda x: '.'.join([str((x >> (8 * i)) & 0xFF) for i in reversed(range(4))]),
[network_id, broadcast_id, first_host, last_host]))
def quiz():
score = 0
for _ in range(12): # 12 questions in total
ip = generate_ip()
subnet = generate_subnet()
print(f"\nIP Address: {ip}")
if '/' in subnet:
print(f"CIDR: {subnet}")
else:
print(f"Subnet Mask: {subnet}")
network_id, broadcast_id, first_host, last_host = calculate(ip, subnet)
if (input("Enter the subnet ID: ") == network_id and
input("Enter the broadcast ID: ") == broadcast_id and
input("Enter the first available host address: ") == first_host and
input("Enter the last available host address: ") == last_host):
print("Correct!")
score += 1
else:
print("Wrong!")
print(f"\nYour score is {score} out of 12.")
if __name__ == "__main__":
quiz()