Comments (10)
Before adding the tag I compiled the program with Clang on Mac OS X so I thought everything was fine...
The problem here is that under FreeBSD, CLOCKS_PER_SEC = 128, leading to a division by zero.
Source: http://bugs.vcmi.eu/view.php?id=719
from pixiewps.
Can you fix it and push another release tag? I'd update the port then to have this fixed as well.
from pixiewps.
I will look later today. I'm not at my compiling station right now.
Thank you for testing and happy new year to you too :)
from pixiewps.
@fbettag
It should be fixed now. I used gettimeofday()
from sys/time.h
instead of clock()
from time.h
.
Tested again on Ubuntu 32 bit (GCC), Mac OS X 64 bit (Clang) and Windows 64 bit (with MinGW). No errors or warnings (using -Wall
-Wextra
).
from pixiewps.
seems fixed now :) can we get another release? :)
from pixiewps.
Well the only thing that stands out:
cc -std=c99 -O3 -Wall -Wextra -DDEBUG -o pixiewps pixiewps.c random_r.c crypto/sha256.c crypto/md.c crypto/md_wrap.c
In file included from pixiewps.c:32:
./pixiewps.h:220:13: warning: comparison of integers of different signs: 'char' and 'unsigned int' [-Wsign-compare]
if (*list <= (max_digit + '0')) {
~~~~~ ^ ~~~~~~~~~~~~~~~
1 warning generated.
from pixiewps.
Mind testing again? Possibly with -Wall
and -Wextra
. If everything's good I'll push another tag.
from pixiewps.
cc -std=c99 -O3 -Wall -Wextra -DDEBUG -o pixiewps pixiewps.c random_r.c crypto/sha256.c crypto/md.c crypto/md_wrap.c
:)
looks good now
from pixiewps.
Pushed new tag 1.2.2.
Thank you again, much appreciated.
from pixiewps.
Submitted to FreeBSD https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205870 :)
No worries, thanks for doing the code, i just package :)
from pixiewps.
Related Issues (20)
- Doesnt work after two times hacks HOT 3
- [Failed] TP-LINK Wireless Router WR720N HOT 2
- Occasional segfaults on MIPSBE device HOT 6
- CVE-2016-10743: Predictable WPS PIN in hostapd for versions prior to 2016
- Make debug output available with command line option HOT 1
- Wps
- How does "sniffing a PBC session" Work ? HOT 44
- Any Idea about Implementing WPS Pixiedust to ESP32 Microcontrollers ? they just added the wps registrar. HOT 5
- `RTL819x` pin is only cracked when e-nonce=es1=es2 HOT 35
- Q
- How's the DHKey computed using python? HOT 3
- Pixie wps crashes most of the new win7 computers
- Love You
- update HOT 3
- thank you
- WPS pin not found HOT 2
- HonKer-Dynamo/pixiewps HOT 1
- How to get authkey value from pcap file HOT 3
- using pixie pyxie with local install of reaver HOT 1
- Can't find a pin anymore HOT 14
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 pixiewps.