django utilities

41 views
Skip to first unread message

Sohail Khan

unread,
Sep 22, 2022, 3:15:43 AM9/22/22
to Django REST framework
hey guys can you tell if i can run a cybersecurity tool's command in django and display it's output on the html page via a file.

Rodrigo Zayit

unread,
Sep 22, 2022, 9:27:42 AM9/22/22
to django-res...@googlegroups.com
Actually, it is not Django, but Python.

Try this:

import os
os.system('ls -l')

Att.,
Rodrigo Zayit


On Thu, Sep 22, 2022 at 4:15 AM Sohail Khan <soha...@sankeysolutions.com> wrote:
hey guys can you tell if i can run a cybersecurity tool's command in django and display it's output on the html page via a file.

--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-fram...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framework/6ef13e8c-80bc-45a6-a3a7-9e042a7f46aan%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages