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 <[email protected]>
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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-rest-framework/6ef13e8c-80bc-45a6-a3a7-9e042a7f46aan%40googlegroups.com
> <https://groups.google.com/d/msgid/django-rest-framework/6ef13e8c-80bc-45a6-a3a7-9e042a7f46aan%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-rest-framework/CAL6GM4KEJMLweGW3mdXtJTdKitgi%2BCiJYEuMZn_y48YDX0ROZg%40mail.gmail.com.

Reply via email to