Exploit database

GH-35c22eb7beb579a537ed8bdac1471048

0x726574736f706d69/exploits

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2012-1876

7 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files10

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

CVE-2021-38003+CVE-2021-30633/CVE-2021-30633/copy.py

Python · 640 bytes
#! /usr/bin/python

import os
import shutil
import sys

base_path = sys.argv[1]
for path, dirs, files in os.walk(base_path):
  for file in files:
    if file == 'mojo_bindings.js' or file == 'mojo_bindings_lite.js':
      shutil.copyfile(os.path.join(path, file), os.path.join('./', file))
    
    if file.endswith('.mojom.js') or file.endswith('.mojom-lite.js') or file.endswith('.mojom.m.js') or file == 'bindings.js':
      target_path = os.path.join('./', path[len(base_path) + 1:])
      try:
        os.makedirs(target_path)
      except:
        pass
      shutil.copyfile(os.path.join(path, file), os.path.join(target_path, file))