GithubHelp home page GithubHelp logo

files aren't downloaded about maltrieve HOT 17 OPEN

lhunt23 avatar lhunt23 commented on July 16, 2024
files aren't downloaded

from maltrieve.

Comments (17)

clayball avatar clayball commented on July 16, 2024

I can confirm.. nothing is being downloaded.

from maltrieve.

lhunt23 avatar lhunt23 commented on July 16, 2024

Thanks for the follow up. If you have any suggestions as to how to get the script working again, please let me know. I've found this script to be extremely useful and appreciate you making it available.

from maltrieve.

hi-T0day avatar hi-T0day commented on July 16, 2024

Add sudo before 'python maltrieve.py' or change python to python3
Good Luck!

from maltrieve.

hi-T0day avatar hi-T0day commented on July 16, 2024

Sorry, I gave you an wrong answer just now. But I got it now.
You can change in "maltrieve.py"
def process_urlquery(response):
soup = BeautifulSoup(response)
urls = set()
for t in soup.find_all("table", class_="test"):
for a in t.find_all("a"):
urls.add('http://' + re.sub('&', '&', a.text))
return urls

to:

def process_urlquery(response):
soup = BeautifulSoup(response, "html.parser")
urls = set()
for t in soup.find_all("table", class_="test"):
for a in t.find_all("a"):
urls.add('http://' + re.sub('&', '&', a.text))
return urls

from maltrieve.

lhunt23 avatar lhunt23 commented on July 16, 2024

from maltrieve.

panw-ren avatar panw-ren commented on July 16, 2024

Having the same issue.

attrs==15.2.0
BeautifulSoup==3.2.1
beautifulsoup4==4.5.3
bs4==0.0.1
chardet==2.3.0
configobj==5.0.6
cryptography==1.2.3
ecdsa==0.13
enum34==1.1.2
feedparser==5.2.1
gevent==1.2.1
greenlet==0.4.12
idna==2.0
ipaddress==1.0.16
Landscape-Client==16.3+bzr834
ndg-httpsclient==0.4.0
PAM==0.4.2
paramiko==1.16.0
pyasn1==0.1.9
pyasn1-modules==0.0.7
pycrypto==2.6.1
pyOpenSSL==0.15.1
pyserial==3.0.1
python-apt==1.1.0b1
python-debian==0.1.27
python-magic==0.4.12
requests==2.13.0
scapy==2.3.3
service-identity==16.0.0
six==1.10.0
Twisted==16.0.0
zope.interface==4.1.3

user1@ubuntu-template:~/maltrieve/maltrieve-0.7/files$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial

user1@ubuntu-template:~/maltrieve/maltrieve-0.7$ sudo ./maltrieve.py
Processing source URLs
Completed source processing
Downloading samples, check log for details
Completed downloads

user1@ubuntu-template:~/maltrieve/maltrieve-0.7$ more urls.json
[]

user1@ubuntu-template:/maltrieve/maltrieve-0.7$ sudo ./maltrieve.py -d ./files/
Processing source URLs
Completed source processing
Downloading samples, check log for details
Completed downloads
user1@ubuntu-template:
/maltrieve/maltrieve-0.7$ cd files/
user1@ubuntu-template:/maltrieve/maltrieve-0.7/files$ ls
user1@ubuntu-template:
/maltrieve/maltrieve-0.7/files$

from maltrieve.

hi-T0day avatar hi-T0day commented on July 16, 2024

I use another branch:https://github.com/HarryR/maltrieve. Now it works. I believe that you can success too.

from maltrieve.

lhunt23 avatar lhunt23 commented on July 16, 2024

from maltrieve.

hi-T0day avatar hi-T0day commented on July 16, 2024

IF you add "#" before line8,9 in file "maltrieve.cfg" can maltrieve work?

from maltrieve.

rkalugdan avatar rkalugdan commented on July 16, 2024

upon review, they were already commented out.

[Maltrieve]
dumpdir = archive
logfile = maltrieve.log
logheaders = true
User-Agent = Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0)

#viper = http://127.0.0.1:8080
#cuckoo = http://127.0.0.1:8090
#vxcage = http://127.0.0.1:8080
#crits = https://127.0.0.1
#crits_user = maltrieve
#crits_key = <api_key>
#crits_source = maltrieve

Filter Lists are based on mime type NO SPACE BETWEEN ,

#black_list = text/html,text/plain
#white_list = application/pdf,application/x-dosexec

from maltrieve.

panw-ren avatar panw-ren commented on July 16, 2024

utilized the other branch as mentioned by hi-T0day but still no luck

user1@ubuntu-template:/maltrieve-0.7$ sudo ./maltrieve.py -d /home/user1/malware
Processing source URLs
Completed source processing
Downloading samples, check log for details
Completed downloads
user1@ubuntu-template:
/maltrieve-0.7$ cd /home/user1/malware/
user1@ubuntu-template:/malware$ ls
user1@ubuntu-template:
/malware$

hashesh.json/urls.json files are empty

2017-03-13 16:13:32 140601425241856 Loaded urls from urls.json
2017-03-13 16:13:32 140601425241856 Starting new HTTP connection (1): support.clean-mx.de
2017-03-13 16:13:32 140601425241856 Starting new HTTP connection (1): www.malwaredomainlist.com
2017-03-13 16:13:32 140601425241856 Starting new HTTP connection (1): vxvault.siri-urz.net
2017-03-13 16:13:32 140601425241856 Starting new HTTPS connection (1): zeustracker.abuse.ch
2017-03-13 16:13:32 140601425241856 Starting new HTTP connection (1): urlquery.net
2017-03-13 16:13:32 140601425241856 Starting new HTTP connection (1): malwareurls.joxeankoret.com
2017-03-13 16:13:32 140601425241856 Starting new HTTP connection (1): malc0de.com
2017-03-13 16:13:32 140601425241856 http://www.malwaredomainlist.com:80 "GET /hostslist/mdl.xml HTTP/1.1" 200 5735
2017-03-13 16:13:33 140601425241856 https://zeustracker.abuse.ch:443 "GET /monitor.php?urlfeed=binaries HTTP/1.1" 200 3882
2017-03-13 16:13:33 140601425241856 http://malwareurls.joxeankoret.com:80 "GET /normal.txt HTTP/1.1" 200 11192
2017-03-13 16:13:33 140601425241856 http://malc0de.com:80 "GET /rss/ HTTP/1.1" 200 None
2017-03-13 16:13:33 140601425241856 http://urlquery.net:80 "GET / HTTP/1.1" 200 4703
2017-03-13 16:13:34 140601425241856 http://support.clean-mx.de:80 "GET /clean-mx/rss?scope=viruses&limit=0%2C64 HTTP/1.1" 200 918
2017-03-13 16:13:34 140601425241856 Dumping past URLs to urls.json
2017-03-13 16:13:34 140601425241856 Dumping hashes to hashes.json

user1@ubuntu-template:/maltrieve-0.7$ more hashes.json
[]
user1@ubuntu-template:
/maltrieve-0.7$ more urls.json
[]

from maltrieve.

lhunt23 avatar lhunt23 commented on July 16, 2024

from maltrieve.

panw-ren avatar panw-ren commented on July 16, 2024

are people still able to get help on issues w/ maltrieve?

from maltrieve.

rkalugdan avatar rkalugdan commented on July 16, 2024

bump

from maltrieve.

getChester avatar getChester commented on July 16, 2024

confirming that nothing is being downloaded.

from maltrieve.

futex avatar futex commented on July 16, 2024

Same problem, nothing is downloaded.

from maltrieve.

atefsaleh avatar atefsaleh commented on July 16, 2024

I realize questions are 2 years old but i have the same case of this issue, did anybody came up with a solution or cause ?
Thanks

from maltrieve.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.