Comments (8)
The timeout error isn't necessarily a timeout, it can also be received due to incorrect parameters, such as is likely the case here. For example
- you use both -Y flag for static instrumentation and -D for Dynamorio instrumentation. You should only use one. I actually recommend using TinyInst instrumentation for first-time users. You can see examples at https://github.com/googleprojectzero/winafl/blob/master/readme_tinyinst.md (note that some flags have different names in TinyInst and other modes)
- You are missing a
-target_method
flag.
from winafl.
this is my new command, but it still doesn't work, and yes I prefer using -Y afl-fuzz -i C:\Users\andye\Desktop\inputs -o C:\Users\andye\Desktop\output -t 25000+ -Y -- -target_method main -fuzz_iterations 5000 -covtype edge -nargs 1 -target_module example.exe -- example.exe @@
from winafl.
For -Y (static instrumentation) please read https://github.com/googleprojectzero/winafl/blob/master/readme_syzygy.md Did you successfully prepare and instrument your target as described in that readme?
from winafl.
Nevermind, it requires me to switch to 32 bit because it only supports that, if I use DynamoRIO, do I need to implement anything? Or as it suggests it can do it in real time
from winafl.
Both DynamoRIO and TinyInst are dynamic binary instrumentation solutions that instrument the target as it runs and support both 32- and 64- bit targets.
from winafl.
Do you know what this assert failure means? And yeah if ask about my code implementation it is this one
and this is the command I used = afl-fuzz -i C:\Users\andye\Desktop\inputs -o C:\Users\andye\Desktop\output -t 25000+ -D C:\Users\andye\Desktop\DynamoRIO\bin64 -- -target_method main -fuzz_iterations 5000 -covtype edge -nargs 1 -target_module example.exe -- example.exe @@
#include <iostream>
#include <string>
int main() {
std::string userInput;
// Prompting user for input
std::cout << "Enter something: ";
std::getline(std::cin, userInput); // Allowing spaces in input
// Printing the input
std::cout << "You entered: " << userInput << std::endl;
return 0;
}
![Capture](https://github.com/googleprojectzero/winafl/assets/132935097/0dcdc048-81ef-4d07-b8d2-2964216ae835)
from winafl.
can someone give me a step by step i'm actually lost, like based on my code can someone compile it and show me how it's done?
from winafl.
Nevermind I just copied the exact command of another person and adapted it to my file and it works fine now
from winafl.
Related Issues (20)
- Winafl + Libprotobuf-mutator
- WinAFL Internal Crash at PC 0x5a1a456e HOT 6
- PROGRAM ABORT : Unexpected result from pipe! expected 'P', instead received '' HOT 1
- ERROR while building winafl HOT 1
- Error: Can't open .cur_input
- drrun.exe and afl-fuzz.exe giving error when -fsanitize=address flag given to compile target
- PROGRAM ABORT : Test case 'id_000000' results in a crash HOT 3
- Occur time out when init test case
- Incorrect detection count threads on multiCPU motherboards HOT 2
- Winafl doesn't want to start, reading other issues didn't help
- PROGRAM ABORT : CreateNamedPipe failed, GLE=231 HOT 2
- tmin: Proposing del_len option for improved speed HOT 2
- Is dumb mode (-n) currently implemented? HOT 4
- problem about finding crashes HOT 6
- not running under DR HOT 4
- No expected output when using standalone debug mode of WinAFL client HOT 3
- WinAFL internal crash HOT 2
- winafl.dll : fatal error LNK1120 HOT 2
- Timeout Options Madness HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winafl.