-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 2bade47
Showing
581 changed files
with
4,465,622 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Read Recent Public Pastebins | ||
|
||
on: | ||
schedule: | ||
# Runs "Every 6 hours" | ||
- cron: '0 */6 * * *' | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: write | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
|
||
- name: Install dependencies | ||
run: pip install -r requirements.txt | ||
|
||
- name: Execute script | ||
run: python script.py | ||
|
||
- name: Commit changes | ||
run: | | ||
git config --global user.name 'GitHub Action' | ||
git config --global user.email 'github-action@example.com' | ||
git add . | ||
git commit -m "Get recent pastes" | ||
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# What is this? | ||
A small project to archive public pastebin posts. This is a work in progress and may be used for security research. | ||
|
||
|
||
## How does it work? | ||
This repository checks https://pastebin.com/archive every 6 hours and looks at the most recent public pastes. | ||
|
||
|
||
## csv format | ||
``` | ||
id, title, author, date, syntax, content | ||
``` |
Oops, something went wrong.