Giter Site home page Giter Site logo

Comments (18)

kevoreilly avatar kevoreilly commented on July 19, 2024

Hi Seantree - do you mean you don't have the URL tab on the submission page?

image

This is what mine looks like although the VirusTotal submission isn't on by default. I've looked for a config option that might disable the URL tab but can't find one.

from cape.

seantree avatar seantree commented on July 19, 2024

I have only File Tab Rest of the tabs are not available to me?
See the below screenshot I have only these tabs active
cape file option only

from cape.

kevoreilly avatar kevoreilly commented on July 19, 2024

Ah are you referring to the online demo instance at cape.contextis.com? The vms for that do not currently have real internet access so the URL feature wouldn't work. For that reason this tab has been removed - but I am hoping to get some form of real internet connection set up for it at some stage. In the meantime you might be better off to set up your own instance - if you allow the vms to connect to the internet then this feature will work.

from cape.

seantree avatar seantree commented on July 19, 2024

@kevoreilly Hi I have setup CAPE on my physical machine. I am not talking about the online CAPE

from cape.

kevoreilly avatar kevoreilly commented on July 19, 2024

Hmm that is a puzzle then. The code for these tabs is in web\templates\submission\index.html but there is no setting for these tabs to be disabled:

  • File
  • Quarantine File
  • URL
  • {% if config.vt %}
  • VirusTotal Download
  • {% endif %}
  • PCAP
  • from cape.

    seantree avatar seantree commented on July 19, 2024

    Hi,
    Kindly check the web.py I think they are calling some different file instead of index.html that you mentioned I checked the file in template folder of index.html. Index.html file code is Ok but I am in doubt regarding the web.py is calling some different html file.
    I am attaching the screenshot of my web page. I am calling only 2 python files in terminal one is cuckoo.py and another is web.py from utils folder. Let me know if some other file should be needed to call. I have also check the web.py file from utils folder I didn't see any calling function for index.html file.
    .
    Kindly check it.
    screenshot from 2018-02-28 12-43-45

    from cape.

    kevoreilly avatar kevoreilly commented on July 19, 2024

    Hmm I am a bit baffled by this - unfortunately I have no idea what other html is being called in your case, I have never seen anything like this before I'm afraid.

    from cape.

    doomedraven avatar doomedraven commented on July 19, 2024

    that looks like https://github.com/ctxis/CAPE/blob/master/utils/web.py no?

    from cape.

    seantree avatar seantree commented on July 19, 2024

    @doomedraven yes it's looks like that and its not calling the index.html file which contains the URL and other functionalities to analyse. anyone having any Idea how to solve this?

    from cape.

    doomedraven avatar doomedraven commented on July 19, 2024

    yup, you should to use this instead https://github.com/ctxis/CAPE/tree/master/web

    with ex: python manage.py runserver 0.0.0.0:8000

    from cape.

    seantree avatar seantree commented on July 19, 2024

    @doomedraven I already tried that also previously it generates an error. I will try one more time and paste the output here.

    from cape.

    doomedraven avatar doomedraven commented on July 19, 2024

    yup with output we can help you :)

    from cape.

    seantree avatar seantree commented on July 19, 2024

    Hi @doomedraven Thanks for the suggestion it works now I was doing the mistake while executing the manage.py .. Now you can close this issue. Thanks once again man :)

    from cape.

    doomedraven avatar doomedraven commented on July 19, 2024

    you are welcome :P
    im not root here, but you have permission to close it ;)

    from cape.

    kevoreilly avatar kevoreilly commented on July 19, 2024

    Thanks doomedraven for helping sort this out!

    from cape.

    doomedraven avatar doomedraven commented on July 19, 2024

    always glad to help :)

    from cape.

    seantree avatar seantree commented on July 19, 2024

    Hi @doomedraven and @kevoreilly sorry to reopen this issue, this is the error which I was talking about while running the file python ./manage.py runserver 0.0.0.0:8000

    Traceback (most recent call last):
    File "/usr/lib64/python2.7/site-packages/django/utils/autoreload.py", line 228, in wrapper
    fn(args, **kwargs)
    File "/usr/lib64/python2.7/site-packages/django/core/management/commands/runserver.py", line 117, in inner_run
    autoreload.raise_last_exception()
    File "/usr/lib64/python2.7/site-packages/django/utils/autoreload.py", line 251, in raise_last_exception
    six.reraise(
    _exception)
    File "/usr/lib64/python2.7/site-packages/django/utils/autoreload.py", line 228, in wrapper
    fn(*args, **kwargs)
    File "/usr/lib64/python2.7/site-packages/django/init.py", line 27, in setup
    apps.populate(settings.INSTALLED_APPS)
    File "/usr/lib64/python2.7/site-packages/django/apps/registry.py", line 85, in populate
    app_config = AppConfig.create(entry)
    File "/usr/lib64/python2.7/site-packages/django/apps/config.py", line 94, in create
    module = import_module(entry)
    File "/usr/lib64/python2.7/importlib/init.py", line 37, in import_module
    import(name)
    ImportError: No module named ratelimit

    let me know how to fix this?

    .
    Thanks & Regards
    Seantree

    from cape.

    seantree avatar seantree commented on July 19, 2024

    sorry again I fixed this issue by installing ratelimit

    from cape.

    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.