Skip to content

Commit 72a203b

Browse files
author
Simone La Porta
committed
New release: 1.0.4
1 parent cf24cb7 commit 72a203b

File tree

5 files changed

+31243
-23
lines changed

5 files changed

+31243
-23
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
All notable changes to this project will be documented in this file.
44
This project adheres to [Semantic Versioning](http://semver.org/).
55

6+
## [1.0.4] [2020-05-12]
7+
8+
### Added
9+
10+
* Added --update option to fetch the list of new modules and themes from git.drupalcode.org
11+
* Custom modules detection
12+
613
## [1.0.3] [2019-02-28]
714

815
### Added

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
# Drupwn [v1.0.3]
1+
# Drupwn [v1.0.4]
22

33
## Description
44

55
Drupwn claims to provide an efficient way to gather drupal information.
66

7-
[![asciicast](https://asciinema.org/a/J6dQmUJVskyHV07iARITfoLan.svg)](https://asciinema.org/a/J6dQmUJVskyHV07iARITfoLan)
7+
Enumeration
8+
[![asciicast](https://asciinema.org/a/5InNWAotigwM4bRscUi7yKAtt.svg)](https://asciinema.org/a/5InNWAotigwM4bRscUi7yKAtt)
9+
10+
Exploitation
11+
[![asciicast](https://asciinema.org/a/bZmopDt4lyix1D9sgxwQMCRfn.svg)](https://asciinema.org/a/bZmopDt4lyix1D9sgxwQMCRfn)
812

913
Further explaination on our [blog post article](https://www.immunit.ch/en/blog/2018/04/10/yet-another-drupal-scanner-drupwn-2/)
1014

plugins/Modules.py

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -30,26 +30,6 @@ def run(self):
3030
self.wait()
3131
self.detectCustom()
3232

33-
def update(self):
34-
with open("plugins/wordlists/plugins.txt", "w") as fd:
35-
session = requests.Session()
36-
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
37-
i = 1
38-
plugins_file = open("./plugins/wordlists/plugins.txt", "w")
39-
while True:
40-
paramsGet = {"page":""+str(i)+"","sort":"created_desc"}
41-
headers = {"User-Agent":"curl/7.64.1","Connection":"close","Accept":"*/*"}
42-
response = session.get("https://git.drupalcode.org/groups/project/-/children.json", params=paramsGet, headers=headers,verify=False)
43-
json_st = json.loads(response.content)
44-
if response.status_code == 200:
45-
if len(json_st) == 0:
46-
plugins_file.close()
47-
break
48-
for name in json_st:
49-
print (name['name'])
50-
fd.write(str(name['name']))
51-
fd.write("\n")
52-
i +=1
5333
def _enum(self, name):
5434
"""Enumerates modules according to predefined application paths as well as files.
5535

0 commit comments

Comments
 (0)