Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about ctf

Read more about ctf

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - ctf

Why does my for loop run indefinitely and doesn't stop when the if condition is met?

I'm trying to read text from a file and using a loop to find a specific text from the file. The data in the file is listed vertically word by word. When I run the script, after it prints the last word...
test-img

AppleCider

python

loops

file

for-loop

ctf

Votes: 0

Answers: 2

Latest Answer

first split the lines by "\n" then print(i) not print(dictionary): with open('dictionary.txt', 'r') as file: dictionary = file.read().strip().split("\n") for i in dictionary: ...
test-img

S4eed3sm

Buffer Overflow in C with strtol

I'm trying to get the following C program to execute the win function by making use of a buffer overflow, however, I'm completely stuck as I cannot figure out the correct input. In this challenge, I w...
test-img

goatw

c

buffer-overflow

ctf

Votes: 0

Answers: 1

Latest Answer

I don't see any buffer overflow here; you are just trying to pass the address of a function (which you know in advance) as input, convert the input into a valid address, and call such address like a n...
test-img

Jack

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved