Skip to content

Commit

Permalink
fix arbitrary python code execution by abusing js2py functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
GammaC0de committed Jan 3, 2023
1 parent 6aa71cd commit 7d73ba7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pyload/core/utils/misc.py
@@ -1,12 +1,11 @@
# -*- coding: utf-8 -*-

import random
import socket
import string

import js2py

from .check import is_mapping
js2py.disable_pyimport()


def random_string(length):
Expand Down

0 comments on commit 7d73ba7

Please sign in to comment.