「安全笔记」 CTF-SSH 服务测试
环境搭建 注意这里的靶场由于版本的问题,只能使用VM VirtualBox安装,攻击机用kali linux在VMware上安装,这里有个坑,在配置网络的时候,全部选择桥接模式,但是VMware下...
View ArticleContinuously run an emacs lisp function
Is there a way to trigger the execution of an emacs lisp function other than M-x myfun? I would like to have the function re-called every time the buffer is changed. Background: I have a table of...
View ArticleUsing Sed to Delete Lines with Non-Alphabetic Letters
The following Regex works as expected in Notepad++: ^.*[^a-z\r\n].*$ However, when I try to use it with sed, it wont work. sed -r 's/\(^.*[^a-z\r\n].*$\)//g' wordlist.txt You could use: sed -i...
View ArticleDarwin subsystem for Linux
Noah Noah is a Darwin subsystem for linux, or "Bash on Ubuntu on Mac OS X". Noah is implemented as a hypervisor that traps linux system calls and translates them into Darwin's system calls. Noah also...
View ArticleLinux服务器---安装telnet
telnet telnet 的对话数据没有加密,甚至用户名和密码都是明文显示,这样的服务风险极大。目前大多数系统多已经不会再安装这个服务了,用户需要自己手动安装 telnet 软件,用户可以将 telnet 的服务器和客户端都安装 [root@localhost wj]# rpm -qa | grep telnet [root@localhost wj]# yum install -y...
View ArticleLinux基础命令---显示文本grep
egrep 相当于 grep E , fgrep 相当于 grep -F 。如果没有给出文件名,那么从标准输入读取。 RedHat 、 RHEL 、 Ubuntu 、 CentOS 、 SUSE 、 openSUSE 、 Fedora 。 ]PATTERNfiles perl 表达式解释匹配模式 TYPE 。默认情况下, TYPE 为二进制, grep...
View ArticleLinux 发行版 antiX 17.3 发布,基于 Debian 9.6
antiX 17.3 已正式发布。antiX 是快捷、轻量级、易于安装的 linux 自启动运行光盘发行,它基于 Debian 的 Testing 分支,面向 x86 兼容系统。 antiX-17.3 是 17.2 的升级修复版本,包括新的含有修复 L1TF/Foreshadow 和 Meltdown/Spectre 漏洞的补丁内核,各种错误修复,更新的翻译和一些升级包。 针对...
View Articlelsix: ls for images
lsix Like "ls", but for images. Shows thumbnails in terminal using sixel graphics. Usage lsix [ FILES ... ] Examples Basic Usage Just typing lsix will show images in the current working directory. You...
View ArticleMaking Bluetooth Work on Lenovo X1 Carbon 6th Gen with Linux
The Lenovo X1 Carbon 6th gen is quite a nice laptop overall. It used to have some quirks under linux, with regards to ACPI sleep, CPU frequency and such. They have all been taken care of by BIOS...
View ArticleMy First Emacs Commit
I just landed my first commit in Emacs . Hooray! And I don’t mean some external package ( I’ve done that ) or some weird Emacs fork ( I’ve done that too ), but real-deal core GNU Emacs . Gaze upon it,...
View ArticleAnki & Japanese Support Add-on on Fedora 28: "Something something 32 bit ...
For a few months now, I've been having issues with the Anki Japanese support add-on. Normally the add-on adds the readings automatically when creating new cards, but lately that was failing with: An...
View Article五款主流 Linux 发行版性能对比,CentOS 不是最强但最稳
2018 即将结束,年末正是各种基准测试对比轮番出炉的时候,通过这些报告,我们可以看到 linux 性能的各个方面在 2018 是如何发展的。但本文的这份性能对比会更加深入 ―― 将研究五个主流 Linux 发行版在过去近三年里所经历的性能变化,而测试对象则是从 2016 年初开始的CentOS, Clear Linux, Fedora, Ubuntu 和...
View ArticleFedora 项目负责人 Cristian Gafton 去世
据 Fedora 官方推特消息,Fedora 项目负责人 Cristian Gafton 已去世,Fedora 项目组对这一消息表示了沉重的哀悼。 据 Fedora 官网介绍,Fedora 项目负责人(Fedora Project Leader or FPL )最终对 Fedora 中发生的所有事情负责,特别是负责维护 Red Hat 与 Fedora 的关系。他/她是 Fedora...
View ArticleLinux内核测试现状揭秘
内核测试的现状 新的内核总是会定期发布出来,但是其实大家并不是十分了解内核是如何被深入测试的。那么这里可以提前告诉大家,内核主干有可能并没有做过充分的测试,而稳定内核可能会更少。。。 So what is going on there? Is stable kernel really stable? 刚好今年9月在洛杉矶举办的《linux Plumbers...
View ArticleSQL Server On Linux(5)――Linux上添加磁盘
接上文: SQL Server On linux(4)――Linux 初步配置 随着数据库的使用时间越来越久,空间问题越显突出。这个时候其中一个手段就是加空间。很多时候是通过加磁盘来实现。在很多规范化的企业里面,有专门的IT人员负责运维服务器,DBA通常只负责管理数据库。但是作为新时代的DBA,有必要了解DB以外的内容。那么下面来演示一下如何在Linux上添加磁盘以满足SQL...
View Articlegolang的编译过程分析
转载自:https://halfrost.com/go_command/ 引言 Go 语言这两年在语言排行榜上的上升势头非常猛,Go 语言虽然是静态编译型语言,但是它却拥有脚本化的语法,支持多种编程范式(函数式和面向对象)。Go 语言最最吸引人的地方可能是其原生支持并发编程(语言层面原生支持和通过第三方库支持是有很大区别的)。Go...
View ArticleLinux 进程感染:Part 1
前言 在红队需要执行的各种任务中有一项因其使用的技术而引人注目:在系统中植入APT(高级持续性威胁),并确保它的持久性。不幸的是,这种持久性机制大多依赖于通过一种或多种激活技术(例如shell脚本、别名、链接、系统启动脚本等)在不同位置保存可执行文件的副本,因此蓝队只需找到这些副本就能进行分析。...
View ArticleTop advice for securing your systems in 2019
It's been aninteresting year for security and users. It all kicked off at the beginning of the year with Facebook and Cambridge Analytica causing people suddenly to think more seriously about their...
View ArticleBash shell find out if a variable has NULL value OR not
I am a new to shell scripting. How do I check for NULL value in a linux or Unix shell scripts? You can quickly test for null or empty variables in a Bash shell script. You need to pass the -z or -n...
View ArticleLinux incrond inotify Monitor Directories For Changes And Take Action
I want to copy (rsync to a remote server) a directory tree whenever file uploaded or deleted in /var/www/html/upload/ directory under linux operating systems for backup purpose and/or load balancing...
View Article