Registry¶
This documentation provides details about the data that can be faked for the Windows Registry.
To retrieve data about a fake Registry you can do the following:
from socfaker import SocFaker
sc = SocFaker()
print(sc.registry.hive)
print(sc.registry.root)
print(sc.registry.key)
print(sc.registry.path)
print(sc.registry.type)
print(sc.registry.value)
Registry Class¶
-
class
socfaker.registry.
Registry
¶ -
hive
¶ A random registry hive
- Returns:
- str: Returns a random registry hive
-
key
¶ A random registry key
- Returns:
- str: Returns a random registry key
-
path
¶ A full registry path
- Returns:
- str: Returns a random full registry path
-
root
¶ A random registry root path string
- Returns:
- str: Returns a random registry root path string
-
type
¶ A random registry key type
- Returns:
- str: A random registry key type
-
value
¶ A random registry key value
- Returns:
- str: A random registry key value
-