自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(402)
  • 资源 (1)
  • 收藏
  • 关注

原创 windows 批次檔 for loop

windows 批次檔1.loop 從0開始,每次加1,直到302.執行完IT6332B_on.exe3.等80秒4.執行完IT6332B_off.exe5.等6秒6.Loop,重新執行2~5步驟, 直到i等於30for /L %%i in (0 1 30) do (start D:\Power_supply_on_off\IT6332B_on.exetimeout /t 80 /nobreakstart D:\Power_supply_on_off\IT6332B_o

2020-12-03 20:06:42 325

原创 列出所有使用bss段的變數與使用的空間大小

objdump -t XXX.elf | grep ".bss"

2020-11-10 22:36:34 165

原创 產生 assembler contents

gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-objdump -d xxx.elf >> xxx.disNote:-d, --disassemble Display assembler contents of executable sections

2020-09-22 21:24:19 166

原创 mobaxterm

Enhanced terminal for Windows with X11 server, tabbed SSH client, network tools and much morehttps://mobaxterm.mobatek.net/

2020-08-25 16:36:32 168

原创 vim use command to change window size

改變垂直視窗的size:vertical resize +18or:vertical resize -10改變水平視窗的sizeresize+18orresize-10

2020-06-24 14:23:12 155

原创 arm 書

Volume 1, 《Introduction to ARM Cortex-M3 Microcontrollers》, ISBN: 978-1477508992 Volume 2, 《Real-Time Interfacing to the ARM Cortex-M3》, ISBN: 978-1463590154, Volume 3, 《Real-Time Operating Systems for the ARM Cortex-M3》, ISBN: 978-1466468863...

2020-05-25 11:23:29 161

原创 git revert

revert last commitgit revert HEAD

2020-01-22 11:04:28 117

转载 git diff staged

will only show changes to files in the "staged" area.git diff --staged

2019-03-07 10:26:58 307

转载 git commit 出錯 處理

remote: Resolving deltas: 100% (7/7)remote: Counting objects: 11, doneremote: Processing changes: refs: 1, done remote: ERROR: missing Change-Id in commit message footerremote: Suggestion fo...

2019-01-18 15:20:20 367

转载 hping

轉載 https://blog.csdn.net/swartz_lubel/article/details/79312002 hping是面向命令行的用于生成和解析TCP/IP协议数据包汇编/分析的开源工具。作者是Salvatore Sanfilippo,界面灵感来自ping(8)unix命令,目前最新版是hping3,它支持TCP,UDP,ICMP和RAW-IP协议,具有跟踪路由模式,能...

2018-12-03 15:12:43 431

转载 nc command

轉載自 https://blog.gtwang.org/linux/linux-utility-netcat-examples/https://blog.gtwang.org/linux/linux-netstat-command-examples/https://blog.longwin.com.tw/2012/02/nc-data-send-socket-server-2012/...

2018-12-03 14:09:40 242

转载 What is kernel ip forwarding?

轉載自https://unix.stackexchange.com/questions/14056/what-is-kernel-ip-forwarding Q:I have seen on many blogs, using this command to enable IP forwarding while using many network security/sniffing ...

2018-11-30 18:07:47 302 1

转载 NAT 相關

轉載自 https://netfilter.org/documentation/HOWTO/NAT-HOWTO.html6. Saying How To Mangle The PacketsSo now we know how to select the packets we want to mangle. To complete our rule, we need to tell the...

2018-11-27 18:07:16 202

转载 與 iptables 相關的網站與書籍

轉載自http://linux.vbird.org/linux_server/0250simple_firewall.php#ps2中文網站:http://www.study-area.org/linux/servers/linux_nat.htm英文網站:http://www.netfilter.org/ http://www.netfilter.org/documentatio...

2018-11-16 17:02:23 198

转载 How to determine the filesystem of an unmounted device?

轉載自 https://unix.stackexchange.com/questions/53542/how-to-determine-the-filesystem-of-an-unmounted-deviceThere are multiple ways to get this information. Most of them require you to parse the output...

2018-11-16 16:27:33 242

转载 ip数据包经由路由转发的时候源ip MAC,目的ip 目的MAC是否改变

轉載自https://blog.csdn.net/yiluyangguang1234/article/details/56666109ip数据包经由路由转发的时候源ip,目的ip是否改变?最近面试网络方面的经常问到这个问题,答案是不能改变的,*除非做了nat转换才能改变。不过mac地址是变化的,因为发送端开始不知道目的主机的mac地址,所以每经过一个路由器mac地址是变化的。目的m...

2018-11-15 18:18:19 6402 1

转载 killall doesn't kill all and rarely kills, what is the command for then?

轉載自https://askubuntu.com/questions/271028/killall-doesnt-kill-all-and-rarely-kills-what-is-the-command-for-thenQ:I occasionally use the killall command to kill processes. The reason why I say ocas...

2018-11-15 12:40:20 238

转载 debug tools

工具参考篇1. gdb 调试利器 2. ldd 查看程序依赖库 3. lsof 一切皆文件 4. ps 进程查看器 5. pstack 跟踪进程栈 6. strace 跟踪进程中的系统调用 7. ipcs 查询进程间通信状态 8. top linux下的任务管理器 9. free 查询可用内存 10. vmstat 监视内存使用情况 11. iostat 监视I/O子系统...

2018-11-14 15:27:15 2334

转载 strace

轉載自 https://linuxtools-rst.readthedocs.io/zh_CN/latest/tool/strace.html6. strace 跟踪进程中的系统调用strace常用来跟踪进程执行时的系统调用和所接收的信号。 在Linux世界,进程不能直接访问硬件设备,当进程需要访问硬件设备(比如读取磁盘文件,接收网络数据等等)时,必须由用户态模式切换至内核态模式,通过系统...

2018-11-14 15:16:20 221

转载 gethostbyname与DNS

Ref https://www.jianshu.com/p/85a6fc704c1a 好文,值得一看https://www.cnblogs.com/battzion/p/4235562.htmlstrace可以用來追蹤,程式在執行過程中打開了哪些檔案------------------------以下內容轉載自https://www.cnblogs.com/battzion/p/423...

2018-11-14 15:13:14 3309 1

原创 如何設定static route

88.9.10.128是一個host指定要連結到88.9.10.128這台主機的封包,會經由wlan0的192.168.11.1這個gateway出去Flags的H待表示一個Hostroute add 88.9.10.128 gw 192.168.11.1 dev wlan0# route -nKernel IP routing tableDestination G...

2018-11-13 11:37:30 2653 1

转载 大学霸 Kali Linux 安全渗透教程

轉載自 https://wizardforcel.gitbooks.io/daxueba-kali-linux-tutorial/content/47.html

2018-11-12 09:45:18 5598

转载 创建密码字典

轉載自 https://wizardforcel.gitbooks.io/daxueba-kali-linux-tutorial/content/47.htmlCrunch工具Crunch是一种创建密码字典工具,该字典通常用于暴力破解

2018-11-09 18:24:09 1271

转载 nmap 與 brutespray合作破解

nmap 與 brutespray合作破解對192.168.11.2掃描,並生成一个名为nmap.xml的扫描结果文件:nmap -v 192.168.11.2 -oX /tmp/nmap.xml 使用brutespray.py的交互模式./brutespray.py -f nmap.xml –i 當选择使用不指定字典BrutesPray,和不指定用户名或密码进行爆破...

2018-11-09 18:15:10 552

转载 nmap

轉載自https://zh.wikipedia.org/wiki/Nmap轉載自 https://www.qa-knowhow.com/?p=3717 Nmap(网络映射器)是一款用于网络发现和安全审计的网络安全工具,它是自由软件。软件名字Nmap是Network Mapper的简称。通常情况下,Nmap用于:列举网络主机清单 管理服务升级调度 监控主机 服务运行状况Nma...

2018-11-09 16:39:35 156

转载 在vim中判斷檔案格式,是dos或者unix

在vim中輸入:set ff?如果檔案是dos,將要顯示fileformat=dos如果檔案是unix,將要顯示fileformat=unix 

2018-10-23 10:10:41 983

转载 git tagname 排列照日期

git log --tags --simplify-by-decoration --pretty="format:%ai %d"

2018-10-17 15:34:10 170

转载 git alias name

Create git alias namegit config --global alias.hint "log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short""git hint" will equal "git log --pretty=format:'%h %ad | %s%d [%an]' --graph --d...

2018-10-17 15:33:40 176

转载 How to list the open file descriptors (and the files they refer to) in my current bash session

轉載 自https://unix.stackexchange.com/questions/333186/how-to-list-the-open-file-descriptors-and-the-files-they-refer-to-in-my-currenYes, this will list all open file descriptors:$ ls -la /proc/$$/f...

2018-10-09 15:36:43 104

转载 在Linux下使用兩張網卡的設定(gateway)

轉載自http://astone-working.blogspot.com/2012/05/linux.html參考資料1. 鳥哥的Linux私房菜--第八章、路由觀念與路由器設定2. 兩張網卡,不能2個gateway嗎?在一些場合,需要讓同一台電腦,用兩張不同的網卡,來做不同的事情,今天要說的就是這個。最常應用的狀況就是:一個網卡用於對內網路,一個網卡用於對外網路。 設定...

2018-10-03 16:55:16 6970

转载 vim 刪除與保留匹配行

:g/{pattern}/d "删除匹配行 :v/{pattern}/d "保留匹配行

2018-09-26 11:50:55 3649

转载 ubiformat partition(The partition has data in it)

umount /configs/ubidetach -p /dev/mtd12#ubidetach -m 12ubiformat /dev/mtd12 -yubiattach /dev/ubi_ctrl -m 12ubimkvol /dev/ubi1 -s 14MiB -N my_ubi_volmount -t ubifs -o sync /dev/ubi1_0 /configs/

2018-09-25 15:48:55 599

转载 sysrq-trigger

ref https://www.ibm.com/developerworks/cn/linux/l-cn-sysrq/index.html轉載# 立即重新启动计算机 echo "b" > /proc/sysrq-trigger# 立即关闭计算机 echo "o" > /proc/sysrq-trigger# 导出内存分配的信息 (可以用/var/log/messag...

2018-09-19 15:04:58 158

转载 kernel panic handle

轉載自 https://szlin.me/2016/05/12/linux-kernel-%E5%B0%8D%E6%96%BC%E7%B3%BB%E7%B5%B1%E7%99%BC%E7%94%9Fkernel-panic-%E8%87%AA%E5%8B%95%E9%87%8D%E5%95%9F%E4%B9%8B%E5%8E%9F%E7%90%86/ 轉載自 http://oenhan.c...

2018-09-19 11:43:06 1240

转载 Linux: Find Out How Many File Descriptors Are Being Used

轉載自 https://www.cyberciti.biz/tips/linux-procfs-file-descriptors.htmlWhile administrating a box, you may wanted to find out what a processes is doing and find out how many file descriptors (fd) are ...

2018-09-14 12:56:16 217

转载 watchdog

必看 http://www.sat.dundee.ac.uk/~psc/watchdog/Linux-Watchdog.htmlref https://blog.csdn.net/tiantao2012/article/details/72953419ref https://embeddedfreak.wordpress.com/2010/08/23/howto-use-linux-wat...

2018-08-29 17:18:16 1240

转载 Data loss in embedded file system UBIFS after shutdown of system

轉載自 https://stackoverflow.com/questions/34409726/data-loss-in-embedded-file-system-ubifs-after-shutdown-of-system  Q:Whenever I run my application on UBIFS file system and do a write operation...

2018-08-29 15:11:50 122

转载 udhcpc

udhcpc在更新租約時,會發出下面指令(在租約時間剩餘一半時,會發出)arping -U my_ip -c 3 

2018-08-27 18:59:23 739

转载 how to monitor Internet connection status

ref:https://unix.stackexchange.com/questions/251625/how-to-log-internet-connection-drops        while :do for interface in $(ls /sys/class/net/ | grep -v lo | grep -v p2p0| grep -v wla...

2018-08-20 16:46:42 138

转载 shell中的括号(小括号,中括号,大括号)

轉載自 https://blog.csdn.net/tttyd/article/details/11742241

2018-08-17 14:33:18 186

Multi-AP specification version 1.0

EasyMesh specification(Multi-AP specification version 1.0)

2019-03-14

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除