Schlagwort-Archive: devices

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‘

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