Jump to content

thomas@

Active Members
  • Posts

    22
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by thomas@

  1. Please bare with me this is a very nube question. 

    In bash bunny. 

    Lets say in payload - Switch1 - payload.txt

    What would be the syntax to run another payload.txt say from " payloads/library/test/payload.txt "

     

    So payload/switch1/payload.txt would execute and run payloads/library/test/payload.txt "

     

    Thanks in advance, I know it's a very basic question.. 

     

  2. I'm new to the bash bunny but have had the rubber ducky since the beginning. 

    Very basic question, Which I guess I can test when I have some time. 

    Since we now have a Payload folder outside of the switch payload. 

    Can we inside the switch payload txt just point to another payload text thats in the Payload folder. 

    Again I know this is probably a very basic question, However I didn't see any documentation anywhere. 

    I would be nice to reference one or multiple other payloads from one script

  3. Good day guys, 

    New user to bash bunny, However old user had one of first batches of rubber ducky. 

    With that said got my bunny in the mail yesterday, got a chance to plug it in today. Mounted fine on my OSX

    After unmounting and putting it away for a bit, I plugged it back in to the same machine again. 

    And it seems it is not mounting and goes to a solid RED led.  I've read this is recover mode I left it for an hour and nothing happens. 

    It is in arming mode, Selecting closest to USB side. Lights up green blinks a few times then goes solid red. 

     

    Any thoughts on how to fix this. Never even got a chance to set anything up or get anything going. 

    I plugged it into a windows 10 machine at work and did the same thing. 

     

    thanks

     

  4. Good day guys, 

    I received my lan turtle a few weeks ago. 

    It's been working great. I've had it setup to digitalocean box with Autossh

     

    Today I wanted to switch it over to my home office and have it autossh to a VM 

    I'm probably missing something very basic. 

    I've looked over the video Darren as done at for prescient shell and autossh

     

    Ok setup working backward.

     

    Kali Light (VM) - XenServer - Untangle router/firewall - Modem - Outside

    I have Untangle port forwarding to XXXX to Kali light to port 22

    I'm able to make a SSH connection using XXXX from the outside fine.

    I've set up keys fine. 

    But when logged into Kali Light and I try to loop back to the turtle by doing a ssh root@localhost -p 2222 I get an error
    Connect to host localhost port 2222: connection refused. 

     

    Am I missing something very basic? it's usually the case lol...

     

     

    Thanks

  5. Good day guys,

    For those that don't know, We were asked at the meet ups not to pass around images of the coins.

    And yes I believe they are only attained from attending a meet up. At least for now.

    I was at the LA meet up, have been trying to figure out the coin as well some of the symbols on it i've never seen before.

    Clues to a starting point is greatly appreciated.

    I've seen two clues so far.

    Fist was tweeted from domain.com (one of Hak5 sponsors)

    Second was tweeted from Darren

  6. Received mine in the mail yesterday as well..

    Excited to get going...

    As I have not used the last rubber ducky. I am seeing I will have a few basic questions.

    Like what Format does the microsd have to be? or is this determined on the OS you using it on. No idea on how the hardware works..

    Answered my own question..

    It seems the SD to microSD adapter I received with the ducky is not working. Tired it on Win7,Mac,Ubuntu does not show up as a device at all.

    after trying another one I had laying around works fine.

    Oo yha and it comes formatted as FAT (figures)

  7. I can remember Darren saying something about windows machines with proxmox in one of the episodes I believe this one.

    Can't remember why but I believe it has something to do with KVM vs OpenVZ.

    I think if you review this episode I think Episode 820 you will find the answer

    Niels,

    Yes I watched it he was refering to the need to install Windows under a KVM container and pointed out the use of visia network drivers

  8. Good day,

    I was wondering if someone could lend a hand.

    I am a new user to ProxMox, I have been runing a Ubuntu:Virtualboxhpvirtalbox for over a year and have loved it. People have recently been coming to me telling me about proxmox as well as seeing it on hak5.

    I decided to make the switch last week.

    I wiped my machine and did a fresh install from CD

    Hardware is: MSI board with i5 2.8's and 8gb's a memory

    Right off the bat i had an issue with the install using v1.7 but found some information on your site about using the v1.4 and upgrading this went off with out a hitch.

    First thing i noticed was (my home enviroment is a mix but more macs than others)

    It seemed current versions of Firefox and chrome were not working with the web console

    however the current version of safari does work but open screen size is two small. Made a small change to 800x600 in proxmox and worked fine. After a bit more testing i found that the beta version of firefox works fine as well v4 b10.

    I installed a few debian / ubuntu installs fine with out a hitch

    Ok so the main issue i have is with windows machines.

    Now let me start by saying i own a few versions of windows and i do use some activation hacked one as well. the activation hacked ones are just for testing purposes no real services or anything running from them, Just like to run a few with different version for various development testing.

    I have read on the forums someone stated that these activation hacked cd's mess with the MBR and for some reason Proxmox does not like this. This worked fine on my old VM configuration.

    Is there anyway around this currently i am stuck and a bit frustrated and disappointed currently with proxmox as i have been hearing how simple things were. I guess i am the odd one out.

    Please any help or insight would be greatly welcomed as i am thinking of reverting back to my old configuration.

    Thanks..

  9. Sparda

    Thank you for your help i figured it out it did have to do with absolute paths.

    here is the final work out

    crontab -e

    ========

    55 23 * * * sh /home/thomas/cronscripts/monitorcontrol.sh off > /home/thomas/cronscripts/log 2>&1 # JOB_ID_5

    55 08 * * * sh /home/thomas/cronscripts/monitorcontrol.sh on > /home/thomas/cronscripts/log 2>&1 # JOB_ID_7

    Config

    ========

    #!/bin/bash

    export DISPLAY=:0.0

    if [ $# -eq 0 ]; then

    echo usage: $(basename $0) "on|off|status"

    exit 1

    fi

    if [ $1 = "off" ]; then

    echo -en "Turning Screensaver off..."

    /usr/bin/xset s off

    echo -en "Turning monitor off..."

    /usr/sbin/vbetool dpms off

    echo -en "done.\nCheck:"

    /usr/bin/xset -q|grep "Monitor is"

    elif [ $1 = "on" ]; then

    echo -en "Turning Screensaver on..."

    /usr/bin/xset s on

    echo -en "Turning monitor on..."

    /usr/sbin/vbetool dpms on

    echo -en "done.\nCheck:"

    /usr/bin/xset -q|grep "Monitor is"

    elif [ $1 = "status" ]; then

    /usr/sbin/xset -q|sed -ne 's/^[ ]*Monitor is //p'

    else

    echo usage: $(basename $0) "on|off|status"

    fi

    thanks again.

  10. When you create entries in crontab always use the full absolute path for the binary/script it is to run, the cron daemon does not know to look in the various binary directories.

    Generally you will also need to specify where stdout and stderr go. You have directed stdout on the first script, so leave that one as it is, though you will have to add "2> /dev/null" to it (redirect stderr to /dev/null). So the full thing for the first entry will be as follows

    05 11 * * * /fullpath/to/file/vbetool dpms off > /home/thomas/logfile 2> /dev/null # JOB_ID_1

    Then add > /dev/null 2> /dev/null to the rest of the entries.

    Still no luck

    current line is

    58 1 * * * /usr/sbin/vbetool dpms off > /home/thomas/logfile 2> /dev/null # JOB_ID_1

    Now just as another test i added this as a one time tast and worked fine just like the others.

    Question is why does one time only task work with same commands and recurrent task does not.

    it totaly has me stumped i have been back and forth and secound guessing everything...

  11. Can you post the crontab entry that is giving you the problem?

    Sparda thanks,

    Here is what i currently have in there at the moment none of them are working. Will only be two in there when its done i have just been testing with diffrent variations

    05 11 * * * vbetool dpms off > /home/thomas/logfile # JOB_ID_1

    35 9 * * * vbetool dpms on # JOB_ID_2

    58 23 * * * xset s off # JOB_ID_3

    50 8 * * * xset s on # JOB_ID_4

    07 11 * * * /home/thomas/cronscripts/monitorcontrol.sh off # JOB_ID_5

    What i would like to do is have cron call twice one in at night with the option off and one in the morning with the option are to the script at /home/thomas/cronscripts/monitorcontrol.sh off

    the script it self is here

    #!/bin/bash

    export DISPLAY=:0.0

    if [ $# -eq 0 ]; then

    echo usage: $(basename $0) "on|off|status"

    exit 1

    fi

    if [ $1 = "off" ]; then

    echo -en "Turning Screensaver off..."

    xset s off

    echo -en "Turning monitor off..."

    vbetool dpms off

    echo -en "done.\nCheck:"

    xset -q|grep "Monitor is"

    elif [ $1 = "on" ]; then

    echo -en "Turning Screensaver on..."

    xset s on

    echo -en "Turning monitor on..."

    vbetool dpms on

    echo -en "done.\nCheck:"

    xset -q|grep "Monitor is"

    elif [ $1 = "status" ]; then

    xset -q|sed -ne 's/^[ ]*Monitor is //p'

    else

    echo usage: $(basename $0) "on|off|status"

    fi

    Like i said scripts and commands work fine if setup as one time task but do not work as recurrent task

    thank you so much for your help...

  12. Good day guys.

    I was woundering if anyone else has had this issue.

    Got me stumped at the moment.

    I am runing Ubuntu 10.4 trying to setup a recuring cron job. (will run script to start and monitor)

    Any how i decided to go gui and install the gnome-scheduler (went fine)

    I then tried to keep things simple and make one recuring task via gui.

    Problem:

    =======

    Recuring tasks are not runing (keeping it simple even the simplest of comands do not run)

    However one time tasks run fine

    I have adding new tast with contab -e (same results)

    there are no allow/deny files in /etc/

    In system log file i see crontab call but no errors

    any suggestions would be greatly apreshated.

×
×
  • Create New...