Questions tagged [c]

General purpose programming language that uses the procedural and structured programming paradigm.

C is a general purpose programming language that uses the procedural and structured programming paradigm.

347 questions
2
votes
0 answers

How to do a Mifare Classic Replay attack

I'm learning for the university and have to do a Mifare Classic replay attack. I don't really know how to do that and hope some of you can help me at least a bit. The goal is to get the number of iterations after the start of the random number…
Justin
2
votes
1 answer

Reverse a call to mmap()

I am currently reverse a challenge to learn. But why is the parameter of mmap (containing fd) at 4294967295? (Is it not supposed to exist? No files are open with open, just before.)
jukebox
  • 193
  • 1
  • 7
1
vote
3 answers

I'm looking for a list of C vulnerabilities like OWASP Top 10

I'm looking for a list of all vulnerabilities that can be present in C so I can practice them all. I found this: Category:C/C++, but it's not of much use.
0
votes
2 answers

Understanding Loop Statements: For & While

Background Hello! New user. I am working on a personal computer science project that involves research on loop statements such as the for and while loops in C - these loops can apply to other programming and scripting languages but, to keep things…
0
votes
1 answer

Which environmental variables can be used alter control flow and keep suid?

I am working on a challenge where it is possible to manipulate environmental variables (in C). I know that with PATH it is possible to execute arbitrary programs when relative path is used, for example: execv("ls", 0); export…
-1
votes
1 answer

Dictionary attack implementation

I've found a function which takes as input an ASCII type string and return a value (as string). Doing some strings on the DLL I was able to find a couple of keys, however I would like to discover other possibilities. The function is: long …
tibar
  • 375
  • 4
  • 18