davideolgiati / partyloud Goto Github PK
View Code? Open in Web Editor NEWA simple tool to generate fake web browsing and mitigate tracking
License: GNU General Public License v3.0
A simple tool to generate fake web browsing and mitigate tracking
License: GNU General Public License v3.0
do you mind if i port this to golang or ruby and give attribution?
Hi,
I wanted to use your tool not for hinding / mitigate tracking but testing a security proxy.
Ok, curl respects http_proxy variable but asking explicite for is IMHO quite nicer here.
So I just addes a few lines of code in a quick and dirty way. Please find my patch attached
Where can I find information about what badwords is doing?
Is your feature request related to a problem? Please describe.
It might be a problem for some.
Describe the solution you'd like
Well, it would be nice to given the possibility to set a delay (sleep) timer between each request send.
So, you can choose to set a delay or just let it do it's thing without the delay.
Describe alternatives you've considered
Sometimes you just want to send trafic slow and controlled so that you do not end up in some sort of blacklist og spamfilter.
When running the script the default network check is a ping, But trying to get a URL should be used as it represents the capabilities of this script better
Is your feature request related to a problem? Please describe.
The administrator of the DNS server in use has a complete list of the sites you visit.
Describe the solution you'd like
I'm pretty ignorant here, but I think that sending each request to a randomly chosen DNS server (from a list) would help tracking mitigation. Technically, this isn't always true because your ISP would however see the content you load after the request, but since some users don't use ISP's DNS by default, it could be a good idea to add an option '--dns' which does the job. Again - not so experienced, but hopefully it helps.
Describe alternatives you've considered
This is not related to the problem before, but I don't think that putting a google site by default in the "whitelist" is in favor of privacy.
Describe the solution you'd like
That it will open more tabs with proxies and stay on the provided url.
Describe the bug <-- it's not a bug.
Code fixes
tput
s. As far as I know, tput
behaves differently between different terminals and operating systems. There is a more universal and faster way which is using escape sequences. You can find those here.while test "${#}" -gt 0; do
function clearLines() {
local i
for ((i=0; i<"${1}"; i++)); do
printf "\e[2K" # Clear entire line
printf "\e[1A" # Up one line
done
}
(You may need to change the order of the two printfs or do <= in the for loop to adapt it to your code)
4. Line 126, use this condition instead:
if [[ -n "${ProxyOpt}" ]]; then
5. Speaking about the DNS file, in the checkDNS function use return
instead of echo
. So that the condition at line 17 will spawn one less subshell:
while checkDNS "$Dns && [[ Retry < 5 ]]; do
Also, at line 53, use this condition instead
if [[ -n "${Ip}" ]] && [[ -n "${Port}" ]]; then
6. Speaking about the tools.sh file, I suggest to change the condition at line 30. As for now it spawns a new subshell in each loop and it is a slowdown:
if command -v "$COMMAND"; then
I haven't tested the code I wrote, but I'm pretty sure it works.
Also, I suggest you to debug your code using shellcheck.
Sorry for any English mistake (I am Italian).
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.