Skip to content

Commit 09e10ef

Browse files
authored
Merge branch 'master' into email
2 parents c88053c + f6494a6 commit 09e10ef

294 files changed

Lines changed: 2076506 additions & 7157 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: Auto Comment on Pull Request
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
jobs:
8+
comment:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Comment on Pull Request
12+
uses: actions/github-script@v5
13+
with:
14+
github-token: ${{ secrets.GITHUB_TOKEN }}
15+
script: >
16+
const comment = "Thank you for creating the pull request! We will review
17+
it shortly.";
18+
19+
github.issues.createComment({
20+
pull_number: context.payload.pull_request.number,
21+
owner: owner,
22+
repo: repo,
23+
body: comment
24+
});
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: Close Old Issues
3+
on:
4+
schedule:
5+
- cron: 0 0 * * *
6+
jobs:
7+
close-issues:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout Repository
11+
uses: actions/checkout@v3
12+
- name: Close Old Issues
13+
run: >
14+
open_issues=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}"
15+
\
16+
"https://api.github.com/repos/${{ github.repository }}/issues?state=open" \
17+
| jq -r '.[] | .number')
18+
for issue in $open_issues; do
19+
# Get the last updated timestamp of the issue
20+
last_updated=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
21+
"https://api.github.com/repos/${{ github.repository }}/issues/$issue" \
22+
| jq -r '.updated_at')
23+
days_since_update=$(( ( $(date +%s) - $(date -d "$last_updated" +%s) ) / 86400 ))
24+
if [ $days_since_update -gt 20 ]; then # Modify the condition to check if days_since_update is greater than 20
25+
curl -s -X PATCH -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
26+
-H "Accept: application/vnd.github.v3+json" \
27+
-d '{"state":"closed"}' \
28+
"https://api.github.com/repos/${{ github.repository }}/issues/$issue"
29+
fi
30+
done
31+
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: Comment on Issue Closure
3+
on:
4+
issues:
5+
types:
6+
- closed
7+
jobs:
8+
comment:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Comment on Issue Closure
12+
uses: actions/github-script@v4
13+
with:
14+
github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
15+
script: >
16+
const { owner, repo, number } = context.issue;
17+
18+
const author = context.payload.issue.user.login;
19+
20+
const commentBody = `Hey @${author} ! Thank you so much for your raising the issue💗 \n It’s all yours, you can come anytime again and make some contributions! 🚀 \n Alone, we can do little, but together we can do so much! 😇
21+
22+
`;
23+
24+
await github.issues.createComment({ owner, repo, issue_number: number, body: commentBody });
25+
26+
console.log(`Commented on the issue: ${commentBody}.`);

.github/workflows/issues.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Add Comment to Newly Open Issue
3+
on:
4+
issues:
5+
types:
6+
- opened
7+
jobs:
8+
add-comment:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
issues: write
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v3
15+
- name: Add Comment
16+
uses: actions/github-script@v4
17+
with:
18+
github-token: ${{ secrets.GITHUB_TOKEN }}
19+
script: >
20+
const { issue } = context.payload;
21+
22+
const author = issue.user.login;
23+
24+
const issueNumber = issue.number;
25+
26+
const comment = `Hello @${author}! \n Thank you for raising this issue. \nPlease make sure to follow our [Contributing Guidelines.](https://github.com/avinashkranjan/Pentesting-and-Hacking-Scripts/blob/master/CONTRIBUTING.md) \nDon't forget to ⭐ our [Pentesting-and-Hacking-Scripts.](https://github.com/avinashkranjan/Pentesting-and-Hacking-Scripts)\n\nOur review team will carefully assess the issue and reach out to you soon!\n We appreciate your patience!`;
27+
28+
const { owner, repo } = context.repo;
29+
30+
await github.issues.createComment({
31+
owner: owner,
32+
repo: repo,
33+
issue_number: issueNumber,
34+
body: comment
35+
});
36+
37+
console.log(`Comment added to the Issue #${issueNumber}.`);
38+

.github/workflows/linting.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: Linting
3+
on:
4+
- push
5+
- pull_request
6+
jobs:
7+
Linting:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v3
12+
with:
13+
ref: ${{ github.head_ref }}
14+
- name: Lint code with prettier
15+
uses: creyD/prettier_action@v4.3
16+
with:
17+
prettier_options: --write **/*.{js,md}
18+

.github/workflows/lock.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: Lock new issues
3+
on:
4+
issues:
5+
types: opened
6+
permissions:
7+
issues: write
8+
jobs:
9+
action:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Lock issues
13+
uses: dessant/repo-lockdown@v3
14+
with:
15+
close-issue: false
16+
exclude-issue-labels: gssoc23.
17+
process-only: issues
18+
skip-closed-issue-comment: true
19+
issue-comment: >
20+
To reduce notifications, issues are locked. Your issue will be
21+
unlocked when we add the label `gssoc23`. If you're participating in
22+
GSSoC'23, please add the `gssoc23` label to your issue.
23+
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: Comment on PR Closure
3+
on:
4+
pull_request_target:
5+
types:
6+
- closed
7+
jobs:
8+
comment:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Comment on PR Closure
12+
uses: actions/github-script@v4
13+
with:
14+
github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
15+
script: >
16+
const { owner, repo, number } = context.issue;
17+
18+
const commentAuthor = context.payload.pull_request.user.login;
19+
20+
const commentBody = `Thank you @${commentAuthor} , for your valuable time and contribution in our Pentesting-and-Hacking-Scripts. \n \n Hoping to see you soon with another PR again 😇 \n Wishing you all the best for your journey into Open Source🚀
21+
22+
`;
23+
24+
await github.issues.createComment({ owner, repo, issue_number: number, body: commentBody });
25+
26+
console.log(`Commented on the closed PR: ${commentBody}.`);
27+

403Bypass/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
- use multiple payloads at the end of the URL
99
- add headers to the request
1010

11-
1211
## 403-Bypasser Instructions: 👨🏻‍💻
1312

1413
### Step 1:
@@ -28,6 +27,7 @@
2827
Sit back and Relax. Let the Script do the Job. ☕
2928

3029
## Sample: 🐻
30+
3131
![Screenshot_20210129_135447](https://i.imgur.com/j8t2d2w.png)
3232

3333
## The Script is Yours.. Happy Hacking 👨🏻‍💻

9Types_Hash_Cracker/README.md

Lines changed: 26 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,26 @@
1-
# 9Types_Of_Hash_Cracker
2-
3-
Short description of package/script
4-
5-
- This Script Was simple to setup
6-
- Need import hashlib, os, time, itertools, multiprocessing, python3 for running this script
7-
8-
## Setup instructions
9-
10-
Just Need to Import hashlib, os, time, itertools, multiprocessing, python3 for running this script
11-
12-
## Detailed explanation of script, if needed
13-
14-
This Script Is Based on Hashing Algorithm For Demo I was Shown One random hash value like 4-6 character long based on the Hash we need to select the Like how many chratcers mixed like a-z, A-Z Mixed with numbers as well depends upon the Hash, then we havee to select Hash type MD5 MD4 etc,. it will try for possible hash values it is useful for Hash value when try to crack the possible passwords! Only a real hacker Understood this Cracker How it will be useful and save much more time as well!!!
15-
16-
## Output
17-
![MD5 Hash Generator - Google Chrome 23-06-2023 21_39_40](https://github.com/Kalivarapubindusree/Pentesting-and-Hacking-Scripts/assets/114821855/3db73224-dc13-486f-aef3-e77edf56c2b0)
18-
19-
![MD5_new py - Visual Studio Code 09-06-2023 11_59_16](https://github.com/Kalivarapubindusree/Pentesting-and-Hacking-Scripts/assets/114821855/b7fb67a6-1d2a-49b1-8497-612889d8dc20)
20-
21-
![MD5_new py - Visual Studio Code 09-06-2023 11_59_25](https://github.com/Kalivarapubindusree/Pentesting-and-Hacking-Scripts/assets/114821855/b5aa86e1-9d2a-415a-af0a-aa170c4d1426)
22-
23-
24-
25-
26-
## Author(s)
27-
28-
Kalivarapubindusree
1+
# 9Types_Of_Hash_Cracker
2+
3+
Short description of package/script
4+
5+
- This Script Was simple to setup
6+
- Need import hashlib, os, time, itertools, multiprocessing, python3 for running this script
7+
8+
## Setup instructions
9+
10+
Just Need to Import hashlib, os, time, itertools, multiprocessing, python3 for running this script
11+
12+
## Detailed explanation of script, if needed
13+
14+
This Script Is Based on Hashing Algorithm For Demo I was Shown One random hash value like 4-6 character long based on the Hash we need to select the Like how many chratcers mixed like a-z, A-Z Mixed with numbers as well depends upon the Hash, then we havee to select Hash type MD5 MD4 etc,. it will try for possible hash values it is useful for Hash value when try to crack the possible passwords! Only a real hacker Understood this Cracker How it will be useful and save much more time as well!!!
15+
16+
## Output
17+
18+
![MD5 Hash Generator - Google Chrome 23-06-2023 21_39_40](https://github.com/Kalivarapubindusree/Pentesting-and-Hacking-Scripts/assets/114821855/3db73224-dc13-486f-aef3-e77edf56c2b0)
19+
20+
![MD5_new py - Visual Studio Code 09-06-2023 11_59_16](https://github.com/Kalivarapubindusree/Pentesting-and-Hacking-Scripts/assets/114821855/b7fb67a6-1d2a-49b1-8497-612889d8dc20)
21+
22+
![MD5_new py - Visual Studio Code 09-06-2023 11_59_25](https://github.com/Kalivarapubindusree/Pentesting-and-Hacking-Scripts/assets/114821855/b5aa86e1-9d2a-415a-af0a-aa170c4d1426)
23+
24+
## Author(s)
25+
26+
Kalivarapubindusree

Automate_Github/README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
---
44

5-
65
## **Description 📃**
76

87
1. This program is related to automation of github.
@@ -11,7 +10,6 @@
1110

1211
To use this program read the instructions below.
1312

14-
1513
<br>
1614

1715
## **Modules Used**
@@ -20,28 +18,24 @@ To use this program read the instructions below.
2018
- os
2119
- github
2220

23-
2421
<br>
2522

2623
## **Functionalities 🎮**
2724

2825
- To use this program first install the PYTHON 3.7 or above on your system.
2926

30-
- Then, install the libraries by using the command ```pip install requests``` and ```pip install PyGithub```
27+
- Then, install the libraries by using the command `pip install requests` and `pip install PyGithub`
3128

3229
- Now, You are ready to start the program
3330

3431
- Enter your github access token.
3532

3633
- Now, enjoy the program.
3734

38-
3935
<br>
4036

4137
## **Developed By 👦**
4238

4339
[Avdhesh Varshney](https://github.com/Avdhesh-Varshney)
4440

45-
4641
### Thanks for using this program !
47-

0 commit comments

Comments
 (0)