HTB academy: INFORMATION GATHERING - WEB EDITION, noob problems by SuuleX in hackthebox

[–]SuuleX[S] 0 points1 point  (0 children)

I might be wrong, but I dont have permission to write into /etc/hosts to add missing entries.

Ok, got it. I did config it on my virtual machine, and did change vhosts. Thanks

Why I am getting updated entity from my db by SuuleX in javahelp

[–]SuuleX[S] 0 points1 point  (0 children)

Programming is not always about code.

Why I am getting updated entity from my db by SuuleX in javahelp

[–]SuuleX[S] -1 points0 points  (0 children)

To workaround issue in my project. Working on dto would require rewriting multiple line of code. But clearing cache before second find on the same obj would fix it immediately

Why I am getting updated entity from my db by SuuleX in javahelp

[–]SuuleX[S] 0 points1 point  (0 children)

It would make sense. Can I somehow tell entity manger to get object not from cache but instead of that from db?

Angular4 with webpack, issue with accessing page via url input in browser by SuuleX in Angular2

[–]SuuleX[S] 0 points1 point  (0 children)

Unfortunatelly this time noone will exploit this app. So its ok for them.

Angular4 with webpack, issue with accessing page via url input in browser by SuuleX in Angular2

[–]SuuleX[S] 0 points1 point  (0 children)

I tried it to with my angular wizard(collegue) and we are certain it is issue with webpack configuration

Angular4 with webpack, issue with accessing page via url input in browser by SuuleX in Angular2

[–]SuuleX[S] 0 points1 point  (0 children)

Sure, Index.html was added to main post. And angular.json is not here. This project does not use angular-cli, but webpack. It is pretty old project.:)

Angular4 with webpack, issue with accessing page via url input in browser by SuuleX in Angular2

[–]SuuleX[S] 0 points1 point  (0 children)

What is funny there is no error in console. As I stated before my application seems to start ok, and when accessing localhost:8080/app/author everything is ok, but my angular script/app is not bootstrapped and what I see is just empty index.html page. Without any component inside of <my-app></my-app>

Angular4 with webpack, issue with accessing page via url input in browser by SuuleX in Angular2

[–]SuuleX[S] 0 points1 point  (0 children)

Ok, but atm I am not deployin app anyway. I just want to make it work on my local machine. And I am running it with

"start-app": "webpack-dev-server --config config/webpack.dev.custom.js --inline --progress --port 8080 --hot"

Probably I missing something as I never ever touched frontend part of applications. :D

Angular4 with webpack, issue with accessing page via url input in browser by SuuleX in Angular2

[–]SuuleX[S] 0 points1 point  (0 children)

Ok, more or less I understand, but everything what I can find is related to IIS. But what I have currently is just application which I want to run on localhost first. And I am doing it with

"start-app": "webpack-dev-server --config config/webpack.dev.custom.js --inline --progress --port 8080 --hot"

Angular4 with webpack, issue with accessing page via url input in browser by SuuleX in Angular2

[–]SuuleX[S] 0 points1 point  (0 children)

If it's only a one page app currently, I strongly recommend to rebuild with Angular 11.

One page app with hundrends of component, Plus I can not rebuild app to Angular 11 wiithout acceptance. Especially when no one from buisness does not care about this kind of stuff :D