Jump to content


Active Members
  • Content Count

  • Joined

  • Last visited

  • Days Won


Posts posted by Br@d

  1. I'm trying to test a few things with a self hosted C2 and a Tetra on the same LAN.

    since it want setup to work both internal and external via a host name, I setup an a record on my internal DNS so that the external DNS name will resolve to the internal IP while on the same LAN.

    This issue is getting the Tetra to look to my DNS server automatically.

    I'm currently using eth0 (wired) for my network connection.

    What I would like is for the Tetra to get its DNS information from the same DHCP server that is handing out it IP address.

    I have tried removing the "Option DNS," from /etc/config/network under bot WAN (eth0) and WWAN with no luck.

    I know that I can edit the /etc/resolve.conf file (currently pointed to 127.0.01)  or add a static entry to /etc/hosts (which I have done to get things working internally for now), but I'm looking for a means to do this via the DHCP issues DNS servers so that it will revolved the host name both internally and externally based on the network that it is connected to.

    Any suggestions?


    • Like 1
  2. I now have both the Nano and Tetra (yay me), and I went to do the firmware update on both. I connected my tetra to the system that I normally use it with and it connected fine to the internet (via internet shareing on my LAN NIC).  Then I tried to the same with my nano, this did require me to go through the basic internet sharing step again. This time it did not work and i cannot get the tetra working again either. I tried on another system with the same results.  Any thought on where I messed up? and what is need to run both devices on the same laptop?

  3. On 12/8/2017 at 12:06 PM, Jason Cooper said:

    Here's how I'd tackle it. The key part is not to break it down to 40 character lines, but instead to take 40 character length sub-strings from the sequence, where each sub-string starts 37 characters on from the start of the previous sub-string.

    my $sequence = "1234567890123456789012345678901234567890123456789012345678901234567890";
    my $length = length $sequence;
    for ( my $i = 0; $i < $length; $i += 37 ) {
        print substr($sequence, $i, 40) . "\n";

    Nailed it! thanks

    I was going so far down the other way of thinking... Thanks for the redirection!

  4. On 12/8/2017 at 2:01 AM, 6ftdan said:

    What are the tools you plan on doing this with?  Does it need to be a script or would a programming language work?  Do you know the length of the pin (in your example you gave it's 4)?  If the pin is shorter then you only need to work about changing the end by that much (if I'm not mistaken).  What you say about shifting by 3 and the next line doesn't make any sense without reasons for this handicap.

    For normal brute force character sequences their's a tool called crunch.  For what you're asking for it's not that hard to write a little program.

    I'm trying to brute force a physical lock that only looks at the last numbers pressed, hence using the sequences. But it times out after 40 keys are pressed. Since I will been manually entering the codes I need/want it to be as efficient as possible

  5. Let's see if I can adequately describe what I need help with here. I'm trying to shift the lines of a txt file do meet my required output.

    I'm trying to create a list of numbers to brute force a lock (that I own). This lock will ignore everything leading up to the correct pin.  for example, if the pin is 1234 and enter 46541198751234  and it will unlock.  In my research, I have discovered the De Bruijn sequence (https://en.wikipedia.org/wiki/De_Bruijn_sequence) which will allow me to quickly go through all possible PINs in a very efficient manner without having to enter each option individually. The problem is that as a weak brute force protection they lock allows for almost 40 keys to be pressed before it times out for 30 seconds. 

    I have split the De Bruijn sequence down into 40 character lines, but to ensure that I do not miss any of the 4 digit pins I need to use the last 3 of the previous line at the start of the next. This also means that I have to cut 3 from the end of the line to stay within the 40 character limit.  

    For example, if my file has the following list of numbers...


    ... I would need to re-arrange them as follows

    00000000000000000000       <- first line is untouched, but the last 3 numbers are used at the start of the next line
    00011111111111111111       <- the last 3 of the previous line are added to the start of this one, but to make room 3 character are automatically bumped to the next line
    11111122222222222222      <- and the process would need to continue until the end of the 100 or so lines

    The also means that new lines would be added to the end of the list to accommodate the continually growing shift.

    Any clues on how to accomplish this?

  6. Success!!  That script has changed a bit over the past few weeks... but not a lot

    I appears (and I'm guessing)  that there is some background services needed that have not loaded by the time the script was called.

    The fix was to set the pi to auto-login and call the script for the .bashrc file... this seems to be working well, but I have a lot of testing to do.

    Thank you everyone for your help!

  7. Awesome, thanks.. that was a lot of help!


    so here is the next funny thing.....

    The script runs exactly as expected if  run it manually "sudo ./MyScirpt.sh" 

    But... when running it as a start up script it does not run correctly.  Instead it shows the airodump-ng scan on the screen and does not quite after 30 seconds...


  8. On 1/1/2017 at 2:40 PM, Teabot 5000 said:

    There's a few ways to get it running on boot. Imagine I saved the script as "coolScript.sh" in the /path_to_file/ directory.

    The quick way would be to add a line like the following to the /etc/rc.local file (above the "exit 0" in the rc.local file of course):

    /path_to_file/coolScript.sh || exit 1;

    The better way would be to add an init script by adding a new script to the "/etc/init.d/" folder that calls the script. The commands would be like so (Note: must be run as root):

    echo '#!/bin/sh' > /etc/init.d/runCoolScript
    echo '/path_to_script/coolScript.sh' >> /etc/init.d/runCoolScript
    chmod ugo+x /etc/init.d/runCoolScript
    update-rc.d runCoolScript defaults

    The top two lines could obviously be done in an editor instead or echoing them.


    ok I seem to be having issues getting this to run at power on.... can you try to elaborate on they steps needed in a Linux for dummies version.... (the amount I have learned in the last few weeks has surprised me but there is still a long way to go )

  9. those files are actually created with line #33

    # running the wireless survey
    airodump-ng -w $recon --output-format csv $wlaninterface &> /dev/null &

    on parrot system (currently dead) do not try to call those variables until they actually called into action later in the script after the relevant content was created. They should just be defined at the start but seem to be called on instead... is that possible?

  • Create New...