williarin / wordpress-anonymizer Goto Github PK
View Code? Open in Web Editor NEWAnonymize a WordPress database without a WordPress installation
License: MIT License
Anonymize a WordPress database without a WordPress installation
License: MIT License
Thanks for your great work with this! I'd like to use this as a way to clean up staging and test environments. Unfortunately, those usually don't have docker or composer available.
So, I was wondering if you know of anyone who integrated your work into a WordPress plugin? I'd prefer to use it as a wp-cli command, since that should still be quite fast.
Thanks!
Patrick
At least in my install, which uses WooCommerce Subscriptions and Checkout-Fields plugins, there seem to be user-data in:
..._wc_order_addresses,
..._wc_customer_lookup,
..._wc_download_log (IP),
..._wc_orders (billing_email, transaction_id, ip_address, user_agent, customer_note)
..._wc_orders_meta
..._woocommerce_payment_tokenmeta
..._woocommerce_payment_tokens (stripe token)
The dependency on Sf console 6.x makes it hard/impossible to install this package when composer 2.2.22 is in use, as that one is only compatible with sf console up to 5.x.
It would be nice to be able to install only the "library" part of this without pulling in the cli command and the sf/cli dependency...
At least for the cli command, it would be nice to be able to set a custom locale
Is your feature request related to a problem? Please describe.
From reading the code, the tool looks very promising. However, it seemingly does not support multisite.
Describe the desired solution
It would be great if you could add multisite support.
Describe the alternatives that you have considered
It could be possible to execute the command for every subsite by providing the site ID as part of TABLE_PREFIX
. However, I have not tested this, and it would be unnecessarily cumbersome.
Additional context
We are in the process of questioning our current approach to anonymization and came across this tool during our research.
fe. the yaml line
password: "password(2, 6)"
could be parsed to retrieve 2 arguments, and inject them into the formatter by making usage of call_user_func_array
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.