uImage Header
https://github.com/EmcraftSystems/u-boot/blob/master/include/image.h
■공식 펌웨어 이미지(.bin) 구성 Scan Time: 2019-12-08 21:39:20 Signatures: 193 Target File: a1004_kr_10_072.bin MD5 Checksum: de6963f995259349e8c873640cfb6f10 DECIMAL HEX DESCRIPTION ——————————————————————————————————- 0 0x0 uImage header, header size: 64 bytes, header CRC: 0xA7B947AD, created: Tue Sep 4 15:36:57 2018, image size: 3681097 bytes, Data Address: 0x80000000, Entry Point: 0x8000C150, data CRC: 0xC03DB7A2, OS: Linux, CPU: MIPS,
setup_openwrt_openvpn_uci.sh
[WeVO 11AC NAS] UCI를 사용한 OpenVPN 설정 더 읽기"
setup_openwrt_openvpn_conf.sh
[WeVO 11AC NAS] OpenVPN 인증서 설정파일(ovpn) 만들기 더 읽기"
아래 스크립트를 리눅스에서 실행하여 GeoIP DB를 만든다. 아래 스크립트를 OpenWRT에서 실행하여 GeoIP를 설치한다. download_geoip_in_pc.sh 10_setup_geoip.sh
[WeVO 11AC NAS] GeoIP 적용하기 더 읽기"
■ 펌웨어 플래싱 1. 사용자 PC에서 scp를 이용하여 펌웨어를 밀어넣는다. rmdir /S /Q %USERPROFILE%\.ssh scp openwrt-18.06.5-ramips-mt7621-11acnas-squashfs-sysupgrade.bin root@192.168.1.1:/tmp 2. OpenWRT CLI(192.168.1.1)에 접속하여 아래 명령으로 펌웨어를 플래싱한다. mtd -r write /tmp/openwrt-18.06.5-ramips-mt7621-11acnas-squashfs-sysupgrade.bin firmware ■ xr_geoip 플래싱 1. 사용자 PC에서 scp를 이용하여 파일을 밀어넣는다. rmdir /S /Q %USERPROFILE%\.ssh scp openwrt_xt_geoip_20191106.tar.gz root@192.168.1.1:/tmp 2. OpenWRT CLI(192.168.1.1)에 접속하여 아래 명령으로 적용한다. rm
[WeVO 11AC NAS] CLI에서 펌웨어 플래싱 및 공장초기화 더 읽기"
출처: http://blog.naver.com/alice_k106/221305928714■ iptables 개념 : 테이블과 체인iptables에는 테이블(Table)과 체인(Chain) 이라는 큰 분류가 있으며, 그 안에 규칙을 정의해 패킷의 흐름을 제어한다. 테이블은 iptables의 규칙을 정의할 수 있는 가장 광범위한 범주로, 아래의 4가지 종류가 있다. 1filternatmangleraw이 중에서 filter는 단어가 의미하는 뜻 그대로 패킷을 걸러내는 용도이며, Inbound(호스트로 들어오는 패킷) / Outbound(호스트에서 밖으로 나가는 패킷) 및 Forward(호스트를 거쳐가는 패킷)
57600 / 7 / Odd / 1 Ralink RT3350 id:1 rev:2 (320MHz) 212.58 BogoMIPS Asus RT-G32 B1 (rt-g32-b1) console=ttyS0,57600 rootfstype=squashfs,jff Memory: 29292k/32768k rt2880-pinmux
[SL-R6804] 시리얼 연결 및 보드 정보 더 읽기"
OpenWRT를 빌드 후 openwrt/bin/targets/ramips/rt305x 디렉토리에 가면 openwrt-imagebuilder-18.06.5-ramips-rt305x.Linux-x86_64.tar.xz가 있으며, 이 빌더를 사용해 패키지를 손쉽게 구성하여 이미지를 생성할 수 있다. ■ 다운로드: http://downloads.openwrt.org/releases/18.06.5/targets/ramips/rt305x/openwrt-imagebuilder-18.06.5-ramips-rt305x.Linux-x86_64.tar.xz ■ 사용방법: https://openwrt.org/docs/guide-user/additional-software/imagebuilder https://openwrt.org/docs/guide-user/additional-software/saving_space make info : 이미지 생성이 가능한 타켓들을 보여준다. make clean : 초기화 make build : 이미지를 생성한다. ■ 예제: make clean make image PROFILE=”rt-g32-b1″ \ EXTRA_IMAGE_NAME=”sl_r6804″ \ PACKAGES=”uhttpd uhttpd-mod-ubus libiwinfo-lua
[SL-R6804] Image Builder를 사용한 이미지 생성 더 읽기"
■ 준비물- Storage를 탑재한 Linux 머신에 rclone 설치- 클라이언트 윈도우 PC에 rclone 설치 ■ rclone 설치 curl -O https://downloads.rclone.org/rclone-current-linux-arm.zipunzip rclone-current-linux-arm.zipcp -fv rclone-*-linux-arm/rclone /usr/bin/rm -rf rclone-* 윈도우는https://rclone.org/downloads/ 에서 다운로드 받아 설치한다. ■ 리눅스 서버에서 rclone 설정 아래와 같은 과정으로 설정한다.$ rclone config n) New remotes) Set configuration passwordq) Quit confign/s/q> nname> test-onedrive_comOption Storage.Type of storage to configure.Choose
[rclone]를 사용한 클라우드 저장소(OneDrive) 동기화 더 읽기"
특정함수를 통과하는 취약점을 예외처리 한다.
[Fortify] Dataflow cleanse 커스텀 룰 작성 방법 더 읽기"
특정 함수에 대해 XSS를 유발시킨다.
[Fortify] Dataflow source 커스텀 룰 작성 방법 더 읽기"
1. 설치 apt-get -y install davfs2 2. ID/PW 셋팅 echo "https://webdav.mysite.com:443 <WebDAV 아이디> <WebDAV 비밀번호>" >> /etc/davfs2/secrets 3. 마운트 echo y | mount \ -t davfs \ -o rw \ -o uid=1000 \ -o gid=1000 \ https://webdav.mysite.com:443 \ /mnt
sc stop mariadb C:\Program Files\MariaDB 10.4\data\my.ini에서 datadir 항목을 변경한다. DB 파일들을 옮긴다. 단, my.ini는 옮기지 않는다. sc start mariadb
Database 디렉토리 옮기기 (MariaDB, MySQL) 더 읽기"