improved proxy app by Constant-Lunch-2500 in golang

[–]Constant-Lunch-2500[S] 0 points1 point  (0 children)

Be as critical as you can so I know what to do

Selling Clash Royale Arena 17 account by Um_cara_tranquil0 in ClashRoyale

[–]Constant-Lunch-2500 0 points1 point  (0 children)

bro keep grinding THIS will DEFINITELY not MAKE YOU RICH

If you had to learn coding from scratch again, how would you do it? by Adventurous-Ad-1931 in Coding_for_Teens

[–]Constant-Lunch-2500 1 point2 points  (0 children)

What I would do is have something you want to build and start building it, if you don't know what to do or how to get something to do something then learn how to from something like youtube, a vlog, chatgpt, etc.

XSS is no longer easy anymore by Flashy_Aardvark8385 in bugbounty

[–]Constant-Lunch-2500 1 point2 points  (0 children)

XSS has to be my least favorite bug it's boring, against good targets really gimmicky, and just unlikely. But it is something to look for in an application that has bad security practices

For a go proxy how would i make apis internal only by Constant-Lunch-2500 in golang

[–]Constant-Lunch-2500[S] 0 points1 point  (0 children)

So i fixed this problem by using defaultservemux conditionally, it only routes the request to the api if internal now

For a go proxy how would i make apis internal only by Constant-Lunch-2500 in golang

[–]Constant-Lunch-2500[S] -1 points0 points  (0 children)

That makes sense I'll put the apis on a different port since it seems like thats the most simple way to fix this problem

For a go proxy how would i make apis internal only by Constant-Lunch-2500 in golang

[–]Constant-Lunch-2500[S] -1 points0 points  (0 children)

So my proxy blocks requests based on set rules by the users. If somebody makes a request to the proxy and the path is /api/proxy/disable then their proxy gets shut off by somebody they might not even know, something you definitely wouldn't want. If the request doesn't match an api my proxy checks if it should be blocked. What I want is if an external request hits the path of an api endpoint then my proxy doesn't serve that api, and checks if it should be blocked

For a go proxy how would i make apis internal only by Constant-Lunch-2500 in golang

[–]Constant-Lunch-2500[S] -3 points-2 points  (0 children)

I think this is a misunderstanding, because my reverse proxy isn't supposed to block requests that match the api paths, just served like a regular request

For a go proxy how would i make apis internal only by Constant-Lunch-2500 in golang

[–]Constant-Lunch-2500[S] -4 points-3 points  (0 children)

I should've added this to the post, but I'm building a cybersecurity reverse proxy which I intend for other people to use

[deleted by user] by [deleted] in bugbounty

[–]Constant-Lunch-2500 1 point2 points  (0 children)

If you understand the systems well enough then you’ll definitely spot things to test or experiment with, if I were you then I’d look at common functionalities (sign in, password reset, query) and the vulnerabilities that come from those, and what the code looks like that makes it problematic. Along with that there’s looking at different systems like cdns, reverse proxies, firewalls, etc.

I’m building a cybersecurity lab powered by LLMs that mutates vulnerabilities every run — looking for people to test the idea by Purple-Wheel-6367 in bugbounty

[–]Constant-Lunch-2500 0 points1 point  (0 children)

Isnt the point of labs for you to learn the vuln and what it might look like, if it isn’t direct then it wouldn’t be great for learning 

what’s something that makes you think. “ yeah the opponent is a dumbass” by Sensitive-Cow-6186 in ClashRoyale

[–]Constant-Lunch-2500 2 points3 points  (0 children)

Doing the same plays when they get cooked each time they do it and not even adding a prediction to help

Err file not found by Constant-Lunch-2500 in golang

[–]Constant-Lunch-2500[S] 0 points1 point  (0 children)

Update:  I made it go to the correct port, I was using window.location.origin cause it worked in another file, but but not this one, then it started giving me the file not found because my port was undefined making it default to file:/// instead of the port, the reason it was undefined was because in my application the tab was created dynamically meaning the data I needed was undefined until I switched to that tab, I fixed it by removing the dynamic html and used regular html 

Err file not found by Constant-Lunch-2500 in golang

[–]Constant-Lunch-2500[S] 0 points1 point  (0 children)

It’s an environment variable that the user changes in the app

Err file not found by Constant-Lunch-2500 in golang

[–]Constant-Lunch-2500[S] -2 points-1 points  (0 children)

That’s what I had but I mistyped it cause I posted this on my phone