当前位置:网站首页>Miscellaneous 1
Miscellaneous 1
2022-04-23 06:26:00 【lingedeng】
1. windows git Server installation
Tool preparation :
Git-2.26.2-64-bit.exe
Copssh_4.1.0_Installer.exe
1. newly build git System users , Passwords never expire
2. normal setup Copssh and Git
3. open Copssh Control panel , choice User->Add, Select the system user created above in the pop-up dialog box , Others keep the default values
4. If you don't need password free login in the future , Then the basic environment is completed
5. adopt git pull/push git@ip:/path/to/foo.git The following error occurred during command access :
git-upload-pack:command not found Or when the dynamic library does not find the symbol , It can be solved by the following methods
find git Install under directory mingw64/bin Catalog , Copy all of it to copssh Install under directory bin Catalog ( notes : Select skip when copying and replacing )
2. busybox compile
busybox-1.31.1.tar.bz2
1. decompression tar jxvf busybox-1.31.1.tar.bz2
2. cd busybox-1.31.1
3. make defconfig|allyesconfig|allnoconfig, Usually choose defconfig
4. make menuconfig Generated by the previous command .config File adjustment ( notes : The system needs libncurses5-devel (centos)|libncurses5-dev (ubuntu))
4.1 Settings -> Build static binary (no shared libs)
4.2 Settings -> (./_install) Destination path for 'make install'
5. Choose what you need according to your requirements applet (vi, udhcpc. etc)
6. perform make
7. perform make install, Will generate... In the current directory _install Catalog , The required busybox Put in _install/bin Directory
8. have access to busybox applet_name Execute the corresponding command in a way
3. x86_64 new type initrd.img Extract and decompress
adopt cpio Command to initrd Extract the file , But the contents of the directory after decompression are kernel/x86/microcode/AuthenticAMD.bin, Directories and files without root file system , Only one microcode file .
x86_64 The production method of root file system on the platform has changed , The root file system needs to be extracted in the following way .
1. ubuntu Can pass apt install binwalk install
2. perform binwalk initrd.img, Output is as follows
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
0 0x0 ASCII cpio archive (SVR4 with no CRC), file name: "kernel", file name length: "0x00000007", file size: "0x00000000"
120 0x78 ASCII cpio archive (SVR4 with no CRC), file name: "kernel/x86", file name length: "0x0000000B", file size: "0x00000000"
244 0xF4 ASCII cpio archive (SVR4 with no CRC), file name: "kernel/x86/microcode", file name length: "0x00000015", file size: "0x00000000"
376 0x178 ASCII cpio archive (SVR4 with no CRC), file name: "kernel/x86/microcode/.enuineIntel.align.0123456789abc", file name length: "0x00000036", file size: "0x00000000"
540 0x21C ASCII cpio archive (SVR4 with no CRC), file name: "kernel/x86/microcode/GenuineIntel.bin", file name length: "0x00000026", file size: "0x002DC800"
3001008 0x2DCAB0 ASCII cpio archive (SVR4 with no CRC), file name: "TRAILER!!!", file name length: "0x0000000B", file size: "0x00000000"
3001344 0x2DCC00 gzip compressed data, from Unix, last modified: 2021-05-31 08:07:39
55517060 0x34F1F84 MySQL MISAM index file Version 6
3. find gzip The file in img Offset in file , The above example is 3001344, Use the following command to unzip
dd if=../initrd.img bs=3001344 skip=1 | zcat | cpio -id --no-absolute-filenames -v
notes : If you pass binwalk The information to be viewed is in compressed format LZMA compressed data, You need to change the... In the above command zcat It is amended as follows lzcat
版权声明
本文为[lingedeng]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204210616199093.html
边栏推荐
- PyTorch笔记——通过搭建ResNet熟悉网络搭建方式(完整代码)
- Doomsday (simple computational geometry)
- Collection and map thread safety problem solving
- Formation à la programmation
- LockSupport. Park and unpark, wait and notify
- Sakura substring thinking
- 線性代數第二章-矩陣及其運算
- lambda expressions
- Class loading and classloader understanding
- Algèbre linéaire chapitre 2 - matrice et son fonctionnement
猜你喜欢

Pytorch notes - complete code for linear regression & manual or automatic calculation of gradient code comparison

Programming record - picture rotation function SciPy ndimage. Simple use and effect observation of rotate()

JDBC connection database

Storing inherited knowledge in cloud computing
![Paper on Image Restoration - [red net, nips16] image restoration using very deep revolutionary encoder decoder networks wi](/img/1b/4eea05e2634780f45b44273d2764e3.png)
Paper on Image Restoration - [red net, nips16] image restoration using very deep revolutionary encoder decoder networks wi

Complete example demonstration of creating table to page - joint table query

A general U-shaped transformer for image restoration

Automatic control (Han min version)

Addition, deletion, modification and query of MySQL table

Practical operation - Nacos installation and configuration
随机推荐
C array
Use of multithreaded executors
Introduction to virtualization features
Custom exception class
Paper on Image Restoration - [red net, nips16] image restoration using very deep revolutionary encoder decoder networks wi
程序設計訓練
Linear algebra Chapter 2 - matrices and their operations
C # Foundation
ThreadLocal. Threadlocalmap analysis
Class loading and classloader understanding
Best practices for MySQL storage time
Denoising paper - [noise2void, cvpr19] noise2void learning denoising from single noise images
Programming record - picture rotation function SciPy ndimage. Simple use and effect observation of rotate()
[leetcode 150] evaluation of inverse Polish expression
線性代數第二章-矩陣及其運算
Usage scenario of copyonwritearraylist
Unsupervised denoising - [tmi2022] ISCL: dependent self cooperative learning for unpaired image denoising
Reading of denoising papers - [cvpr2022] blind2blind: self supervised image denoising with visible blind spots
[leetcode 459] duplicate substring
Export of data