Git Product home page Git Product logo

partyloud's Introduction

Hi, I'm Davide! 👋🏻

Python  Java  C++  Git  GitHub  Linux  MongoDB  Google Cloud  Kubernetes  Docker 

partyloud's People

Contributors

davide-olgiati avatar davideolgiati avatar fireneat avatar garlic-hub avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

partyloud's Issues

[REQUEST] Port?

do you mind if i port this to golang or ruby and give attribution?

Ask for proxy usae

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

partyloud_patch.txt

[REQUEST] Possibility to set a delay between each request send

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.

Network check should not be ping

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

Send each request to a different DNS server?

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.

[REQUEST] Stay on the page

Describe the solution you'd like
That it will open more tabs with proxies and stay on the provided url.

[BUG] Code fixes

Describe the bug <-- it's not a bug.
Code fixes

  1. I saw you use a lot of tputs. 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.
  2. As for flag concatenation, I think it's better to use:
    while test "${#}" -gt 0; do
  3. As for the clearLines function, I think it does many useless operations. I was using your one for a script I'm creating, but then I've rewritten it and I came up with:
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).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.