Jump to content

SDFUK

Active Members
  • Content Count

    7
  • Joined

  • Last visited

About SDFUK

  • Rank
    Newbie

Recent Profile Visitors

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

  1. Hi, I've been experimenting with the Evil Portal module. It's really nice to use and works well when easily loading new templates etc in. I'd like to improve the hit rate at which new clients are being redirected to the captive portal. I've used the DNSSpoof module to redirect all to the portal, but I suspect this is hit and miss due to many clients caching DNS. I am finding that many clients will connect straight through without ever seeing the Evil Portal. Is there a good way to increase the chance of the portal popping up - e.g does anyone have a list of the various domains such as captive.apple.com? Or should I be looking at IPTables rules to block the traffic similar to WiFiPhisher? Thanks
  2. Hello, Would it be following to include the following line in /etc/profile BY DEFAULT on Nano firmware? export LD_LIBRARY_PATH=/lib:usr/lib:/sd/lib:/sd/usr/lib This would really help with some of the library loading issues when tools have to be installed to the SD card. Caveat that their may be additional library paths to add to this. Thank you
  3. Hi, I am having some problems with the /sd partition. It seems to be that data and module scripts are regularly getting corrupted. It's reasonably common for me to find that the current directory I am in (on the SD card) currently has no content. Sometimes I can run fsck to fix this but not always. Example dmesg output is below. Is this an issue with my SD Card or something else? Thanks [ 190.700000] sd 0:0:0:0: [sda] [ 190.700000] Result: hostbyte=0x01 driverbyte=0x00 [ 190.700000] sd 0:0:0:0: [sda] CDB: [ 190.710000] cdb[0]=0x28: 28 00 00 22 f5 0d 00 00 10 00 [ 190.710000] blk_update_request: I/O error, dev sda, sector 2290957 [ 192.110000] EXT4-fs error (device sda1): ext4_find_entry:1289: inode #1438977: comm php-fpm: reading directory lblock 0 [ 192.120000] EXT4-fs error (device sda1): ext4_find_entry:1289: inode #1438977: comm php-fpm: reading directory lblock 0 [ 192.150000] EXT4-fs error (device sda1): ext4_find_entry:1289: inode #1438978: comm php-fpm: reading directory lblock 0 [ 193.100000] EXT4-fs error (device sda1): ext4_find_entry:1289: inode #1438983: comm python: reading directory lblock 0
  4. Thanks very much working great now!
  5. Thanks for that code snippet, that's going to be really useful. However, I'm trying it now and now it is just hanging in a deadlock - my theory is still that for some reason the USB is not activated until after the exit 0 in rc.local?
  6. Hi, I've got kismet (the 2013 version in the openwrt repo) and an external USB GPS receiver working just fine on a Pineapple Nano. I've written a little rc.local script to autostart Kismet when the Nano is powered on. Nano is using the latest firmware. The problem I am having is that the USB devices on the Nano are activated *after* the rc.local script based on my reading of the DMESG logs. When I mean activated, I mean that there is no /dev/ttyUSB0 until after the rc.local script finishes when it appears. However, I need the USB GPS to be active before kismet starts. My hacky /etc/rc.local script to start Kismet is below. LOG=/tmp/kismet_boot.log ls -al /dev > $LOG date >> $LOG export PATH=/usr/bin/pineapple:/bin:/sbin:/usr/bin:/usr/sbin:/sd/bin:/sd/sbin:/sd/usr/bin:/sd/usr/sbin export LD_LIBRARY_PATH=/lib:usr/lib:/sd/lib:/sd/usr/lib if [ -f /etc/run_kismet_on_boot ]; then echo "running kismet on boot" >> $LOG ls -al /dev >> $LOG sleep 90 echo "back from sleep" >> $LOG ls -al /dev >> $LOG gpsctl -n /dev/ttyUSB0 kismet_server --daemonize else echo "not running kismet on boot" >> $LOG fi # Enter commands above this line exit 0 DMESG logs [ 34.110000] br-lan: port 2(wlan0) entered forwarding state [ 36.110000] br-lan: port 2(wlan0) entered forwarding state [ 127.380000] usb 1-1.3: new full-speed USB device number 6 using ehci-platform [ 127.510000] pl2303 1-1.3:1.0: pl2303 converter detected [ 127.520000] usb 1-1.3: pl2303 converter now attached to ttyUSB0 If I change the sleep time to a different value X, the USB devices activate exactly X settings later. Any tips on how to resolve this? Thanks
  7. Hi, I've seen this mentioned a few times, but no solution as of yet. I'm using Powershell as a payload that is saving data into the loot folder. It's working fine, but I need a way of notifying the Bunny when the script 'has finished', for notification. I tried the 'until' command in a sleep loop in payload.txt watching for creation of a 'finished' file, but like others in that forum that does not seem to work. Has anyone else found a way of making this work?
×
×
  • Create New...