Jump to content

Cassiopeia

Active Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Cassiopeia

  1. got your pineapple mk4 a while ago, love it! though i want to have the option on using my Huawei e175 in it Pineapple Hardware Version (ex: Mark III, Mark IV, etc.): Mark IV Pineapple Software Version (ex: 2.5.0, 2.6.4): 2.7.0 OS used to connect to the pineapple: Backtrack 5r3 Network layout of how your setup is connected (including IP information): wp4.sh script Is the problem repeatable (Yes/No): yes Steps taken which created the problem: edited the 3g script Error Messages: -see log below- Log file information: -down below- all this is copy pasted from the e173 modem script that is in the 3g script now i never got a username from my provider (telenor) but i did get a password (down below) im at a loss here and i have no idea what could be worng since the log just pokes out alot of letters! 3g script (added section) *12d1:1446*) echo "Huawei E175 detected. Attempting mode switch" uci delete network.wan2 uci set network.wan2=interface uci set network.wan2.ifname=ppp0 uci set network.wan2.proto=3g uci set network.wan2.service=umts uci set network.wan2.device=/dev/ttyUSB0 uci set network.wan2.apn=apn uci set network.wan2.username=username uci set network.wan2.password=8657 uci set network.wan2.defaultroute=1 uci commit network usb_modeswitch -v 12d1 -p 1446 -V 12d1 -P 1001 -M 55534243123456780000000000000011060000000000000000000000000000 -n 1 -s 20 sleep 10; rmmod usbserial sleep 3; insmod usbserial vendor=0x12d1 product=0x1446 sleep 5; /etc/init.d/firewall disable; /etc/init.d/firewall stop logger "3G: firewall stopped" iptables -t nat -A POSTROUTING -s 172.16.42.0/24 -o 3g-wan2 -j MASQUERADE iptables -A FORWARD -s 172.16.42.0/24 -o 3g-wan2 -j ACCEPT iptables -A FORWARD -d 172.16.42.0/24 -m state --state ESTABLISHED,RELATED -i 3g-wan2 -j ACCEPT ;; Log file 20:23:42 Pineapple daemon.notice netifd: Interface 'wan2' is now down 20:23:42 Pineapple daemon.info pppd[4864]: Exit. 20:23:41 Pineapple local2.info chat[4880]: timeout set to 30 seconds 20:23:41 Pineapple local2.info chat[4880]: timeout set to 10 seconds 20:23:41 Pineapple local2.info chat[4880]: send (ATE1^M) 20:23:41 Pineapple local2.info chat[4880]: send (AT+CGDCONT=1,"IP","apn"^M) 20:23:41 Pineapple local2.info chat[4880]: send (AT&F^M) 20:23:41 Pineapple local2.info chat[4880]: report (CONNECT) 20:23:41 Pineapple local2.info chat[4880]: expect (OK) 20:23:41 Pineapple local2.info chat[4880]: expect (OK) 20:23:41 Pineapple local2.info chat[4880]: expect (OK) 20:23:41 Pineapple local2.info chat[4880]: abort on (NO CARRIER) 20:23:41 Pineapple local2.info chat[4880]: abort on (ERROR) 20:23:41 Pineapple local2.info chat[4880]: abort on (BUSY) 20:23:41 Pineapple local2.info chat[4880]: ^M 20:23:41 Pineapple local2.info chat[4880]: ^M 20:23:41 Pineapple local2.info chat[4880]: OK 20:23:41 Pineapple local2.info chat[4880]: OK 20:23:41 Pineapple local2.info chat[4880]: Failed (ERROR) 20:23:41 Pineapple local2.info chat[4880]: ATE1^M^M 20:23:41 Pineapple local2.info chat[4880]: AT+CGDCONT=1,"IP","apn"^M^M 20:23:41 Pineapple local2.info chat[4880]: AT&F^M^M 20:23:41 Pineapple local2.info chat[4880]: +CME ERROR 20:23:41 Pineapple local2.info chat[4880]: -- got it 20:23:41 Pineapple local2.info chat[4880]: -- got it 20:23:41 Pineapple local2.info chat[4880]: -- failed 20:23:41 Pineapple daemon.err pppd[4864]: Connect script failed 20:23:40 Pineapple daemon.notice pppd[4864]: pppd 2.4.5 started by root, uid 0 20:23:40 Pineapple daemon.notice netifd: wan2 (4837): Trying to set mode usb connections Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem
  2. so my setup is a pineapple mark4 running 2.5.0, an alfa network card, and my laptop running bt5r3. i use the wp4.sh script for ICS between my wifi connection (192.168.1.1) and the standard pineapple ip. now when i try to start armitage, i get the normal connect to database screen, connect yes to start msf rpc and it starts loading armitage, now halfway there, i get a messagebox "Could not connect to database click help button (firstly no help button is avalible which is quite amusing :P) FATAL:: no pg_hba.conf entry for host "172.16.42.42", user "msf3", database "msf3dev", SSL off" and it terminates armitage, now anyone have a clue of whats obviously wrong? //Regards
  3. yeah had the same "Issue" but yay its a pretty easy one \o/. the problem itself lies in that the ducky executes the script as soon as it gets power to the board. and it happens so fast so that windows itself doesnt recognize it as a keyboard/mouse. easy fixin, just add a DELAY at the top of your script giving windows time to recognize the ducky as a HID, i run with DELAY 5000 fixed my problems atleast =)
  4. hey, from what ive read Jasagerpwn for the mk.2 is discontinued, but i wonder i you could upload the .tar again so we can spread it (if you allow that, ALL the credit for you also!) or check so that it is still on your website. //Best regards!
  5. i got a problem with the pineapple after a flash, thing is it flash succesfully, no problems. and then im moving onto your script, and i am going to disable dnsmasq, which i cant since im only getting the "root@OpenWrt:~# dnsmasq off dnsmaq: failed to create a listening socket: Address already in use" any ides on how to remedy this?
  6. How would i see the clients connected, without scrolling through the whole DHCP log?, or even connect to the FON page since i cant access it through http://192.168.0.2:1471 (i use .0.2 to reduce the IP conflicts). otherwise REALLY great script! luurv it
×
×
  • Create New...