Schlagwort-Archive: embedded

openwrt spoof all to local web server

ganz einfacher redirect

unter /etc/config/firewall

 

config redirect
option src lan
option proto tcp
option src_dport 80
option src_ip !192.168.1.1       
 #hier die locale ip adresse vom router die nicht gespoofed werden #soll sondern alle anderen
option dest_port 80

für port http

ziel von den anfragen solllen hier landen am router

option dest_ip 192.168.1.1
option target DNAT

 

#und dsas ganze nochmal für https

config redirect
option src lan
option proto tcp
option src_dport 443
option src_ip !192.168.1.1
option dest_port 443
option dest_ip 192.168.1.1
option target DNAT

ausserdem noch hinzufügen bei
/etc/config/dhcp

config ‚domain‘
option name ‚#‘
option ip ‚192.168.1.1‘


die sollten wegkommentiert werden

#list rebind_domain example.lan 
#option local ‚/lan/‘
#option domain ‚lan‘
#list server ‚/mycompany.local/1.2.3.4‘
#option nonwildcard 1
#list interface br-lan
#list notinterface lo
#list bogusnxdomain ‚64.94.110.11‘

HORNET U-BOARD X2 64/16 aka UB64

original ub64 files if someone need that

[ ] ART.bin 2016-05-18 03:54 64K  
[ ] NVRAM.bin 2016-05-18 03:54 64K  
[ ] rootfs.bin 2016-05-18 03:54 14M  
[ ] u-boot-env.bin 2016-05-18 03:54 64K  
[ ] u-boot.bin 2016-05-18 03:54 256K  
[ ] uImage.bin 2016-05-18 03:54 1.6M  

http://dl.raimond.at/hornet-ux2/

tftpboot 0x80600000 kernel.bin
erase 0x9fe50000 +0x190000
cp.b 0x80600000 0x9fe50000 120000

tftp 0x80600000 rootfs.bin
erase 0x9f050000 +0xE00000
cp.b 0x80600000 0x9f050000 240000

 

pineapple

Lost my pineapple mark5 alias mk5 in peru

so i wanted to get a new one and saw there is an pienapple nano and tera avaible at hak5

i grabbed  the firmware, binwalked it .
(get it from github or via apt)

cut kernel, rootfs etc out from the upgrade file and here ist the roofs  as bin just swquah it with or get it extraced her:

http://dl.raimond.org

bought me an hornet board with 64 named x2

there is also the original hornet x board firmware avaiable in all parts  rootfs kernel etc also from firmware udprage file

http://dl.raimond.at/hornet-ux2/

HORNET UBOARD ALFA + USBHUB+ RTL8187

Hornet-uboard

Available through pineapple repository from hak5

some missing  packages in normal openwrt