msfdb启动报错”Attempting to start MSF web service…failed”解决方法

1.查看~/.msf4/msf-ws.log,如果是

dyld: lazy symbol binding failed: Symbol not found: _SSL_library_init
Referenced from: /Users/xxxx/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/eventmachine-1.2.7/lib/rubyeventmachine.bundle
Expected in: flat namespace

手动指定ssl包含文件路径并重新安装eventmachine

2.再次启动msfdb,发现报错

objc[4443]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called.
objc[4443]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.

这是macOS对objc多线程的限制,修改环境变量解决问题

 

Copying an operating system image to an SD card using Mac OS

https://www.raspberrypi.org/documentation/installation/installing-images/mac.md

Note: The use of the dd tool can overwrite any partition of your machine. If you specify the wrong device in the instructions, you could overwrite your primary Mac OS partition!

Determine SD device

  • Insert the SD card in the slot or connect the SD card reader with the SD card inside.
  • diskutil list

    or

  • From the Apple menu, choose ‘System Report’, then click on ‘More info…’.
  • Click on ‘USB’ (or ‘Card Reader’ if you are using a built-in SD card reader), then search for your SD card in the upper right section of the window. Click on it, then search for the BSD name in the lower right section. It is in the form diskN (for example, disk4). Record this name.
  • using Disk Utility, unmount the partition. Do not eject it.

Copy the image

  • From Terminal, enter:

    Replace N with the number that you noted before.

    This can take more than 15 minutes, depending on the image file size. Check the progress by pressing Ctrl+T.

    If the command reports dd: bs: illegal numeric value, change the block size bs=1m to bs=1M.

    If the command reports dd: /dev/rdisk2: Operation not permitted you need to disable SIP before continuing.

    If the command reports the error dd: /dev/rdisk3: Permission denied, the partition table of the SD card is being protected against being overwritten by Mac OS. Erase the SD card’s partition table using this command:

    That command will also set the permissions on the device to allow writing. Now issue the dd command again.

After the dd command finishes, eject the card:

使用aws-cli更新lightsail mysql时区

https://forums.aws.amazon.com/thread.jspa?threadID=307496

https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-updating-database-parameters

1.通过get-relational-database-parameters查询可用参数

2.通过update-relational-database-parameters更新参数

 

svn服务脚本

 

sql server备份所有数据库脚本

 

ida for mac 插件配置 tips

yara:

sudo pip install yara-python,不行下载安装

vim /usr/local/lib/python2.7/site-packages/yara/libyara_wrapper.py

修改308行左右

默认从系统目录找,系统Frameworks目录不可写,自然找不到so文件

继续阅读ida for mac 插件配置 tips

aliyun高性能计算服务HPC破解密码性能实测

总体评价:屌炸天
对比在线GPU破解阵列:短时间破解无性价比优势,时间超过5小时以后具有性价比优势
以下是实际测试

BenchMark测试:

[[email protected] hashcat]# hashcat -b –force
hashcat (v3.20-88-gd36cc4c) starting in benchmark mode…

OpenCL Platform #1: NVIDIA Corporation
======================================
* Device #1: Tesla M40, 2047/11519 MB allocatable, 24MCU
* Device #2: Tesla M40, 2047/11519 MB allocatable, 24MCU

Hashtype: MD4

Speed.Dev.#1…..: 26644.2 MH/s (60.42ms)
Speed.Dev.#2…..: 26506.5 MH/s (60.74ms)
Speed.Dev.#*…..: 53150.6 MH/s

Hashtype: MD5

Speed.Dev.#1…..: 13648.3 MH/s (58.98ms)
Speed.Dev.#2…..: 13537.3 MH/s (59.46ms)
Speed.Dev.#*…..: 27185.6 MH/s
继续阅读aliyun高性能计算服务HPC破解密码性能实测