ObsidianVault/技术/gitlab/数据库.md

21 lines
744 B
Markdown

连接数据库
```bash
sudo gitlab-psql
```
显示所有用户名密码
```bash
SELECT id, username, email, encrypted_password FROM users;
```
```bash
```
```bash
nohup hashcat -m 3200 -a 0 -o ./cracked.txt ./hashes.txt ./name_dir.txt --workload-profile 4 > output.log 2>&1 &
nohup ./hashcat.bin -m 3200 -a 0 -o ../hashdata/cracked.txt ../hashdata/hashes.txt ../hashdata/name_dir.txt --status --status-timer 10 --workload-profile 4 > output.log 2>&1 &
nohup ./hashcat.bin -m 3200 -a 0 -o ../hashdata/cracked.txt ../hashdata/hashes.txt ../hashdata/dictionary.txt --status --status-timer 10 --workload-profile 4 > output.log 2>&1 &
```
hashcat -m 3200 -a 0 -o ./cracked.txt ./hashes.txt ./name_dir.txt --workload-profile 4
dictionary.txt