'Not able to run cmd command using pickle

I am trying the insecure of pickle

I have python install on my windows

rdata = pickle.loads(b' import os os.system("dir") ')

How to print the data of that above command which i passed to pickle.loads()

Or any sample code example with an demonstration insecure of pickle



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source