!ukwNaPdEIgpneADQLo:matrix.org

Cybernity

414 Members
VyuhaInfinity CYBERNITY | The Cyber Community |join» #cybernityencrypted:matrix.org for more secure messaging.5 Servers

Load older messages


SenderMessageTime
6 Oct 2024
@telegram_38231706:t2bot.iowotheragain, if it is a dev dep, whatever, that is on your local box and I only care as far as it doesn't exploit others. but in production... hell no, never.21:51:29
@telegram_38231706:t2bot.iowother Forwarded message from Abhi
btw do this https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally
21:48:06
@telegram_1219592872:t2bot.ioAbhi This is what i do -

mkdir -p ~/.npm-global
npm config set prefix '~/.npm-global'
export PATH=$HOME/.npm-global/bin:$PATH #in my .ksh.rc
source ~/.kshrc
21:47:08
@telegram_1219592872:t2bot.ioAbhiI agree.21:51:54
@telegram_1219592872:t2bot.ioAbhiWho's akido?21:53:31
@telegram_38231706:t2bot.iowotherlinks are blocked, as a bunch of peeps were sharing copywritten stuff and we lost a room because of strikes... damn trolls.21:48:53
@telegram_1219592872:t2bot.ioAbhi
In reply to Abhi
Poll: When you use npm to install packages. (If you do use it) Many packages readme suggest to install it globally with -g . You need root privileges. Do use sudo when it errors out? it suggests to use root
  1. Yes
  2. No
Vote with !tg vote YwBYDkRXAAABfmA <choice number>
I asked in many dev groups, 46% just use sudo because " i just want to get it done"
21:50:37
@telegram_1219592872:t2bot.ioAbhiSo cool ! i never used it. Time to learn about it, thanks wother21:54:35
@telegram_38231706:t2bot.iowotherlol, it is honestly more annoying than anything, but I don't care. I'm on the SysOps team now, so I just make sure the environment is secure and online.21:55:22
@telegram_38231706:t2bot.iowother I know stuff like nodemon or some linters want to be global, but those are dev deps, not prod deps.

Prod should NEVER need root/elevated permissions.
21:50:42
@telegram_1219592872:t2bot.ioAbhiThis is based!21:53:51
7 Oct 2024
@telegram_5019913753:t2bot.ioMartin Välba: 🇪🇪 / changed their display name from Martin Välba to Martin Välba: 🇪🇪 /.16:05:00
8 Oct 2024
@telegram_372084874:t2bot.io#!/usr/bin/env h@x
In reply to wother
lol, it is honestly more annoying than anything, but I don't care. I'm on the SysOps team now, so I just make sure the environment is secure and online.
And im gonna dip into Devops Engineering 🙃
11:20:42
@telegram_1385150369:t2bot.ioᴘʀᴏғғᴀᴘᴛ
In reply to #!/usr/bin/env h@x
And im gonna dip into Devops Engineering 🙃
First time hearing DevOps & Engineering together XD
11:58:47
@telegram_372084874:t2bot.io#!/usr/bin/env h@x
In reply to ᴘʀᴏғғᴀᴘᴛ
First time hearing DevOps & Engineering together XD
Not the first time here tho ^^
14:10:08
10 Oct 2024
@telegram_6954747145:t2bot.ioDeleted account 6954747145 changed their display name from .... to Deleted account 6954747145.16:43:58
11 Oct 2024
@telegram_1292293364:t2bot.ioDeleted account 1292293364 changed their display name from Alex 🌘 to Deleted account 1292293364.16:30:38
12 Oct 2024
@telegram_621861198:t2bot.ioI75k1ddyHi frands Having some doubt on Jwt authentication13:22:26
@telegram_621861198:t2bot.ioI75k1ddyIf I logout using 'xyz' token Then Using the same token to access isAuthenticated endpoints (endpoints which requires user to be logged in to access ) , will i be able to access it ?13:23:28
@telegram_1385150369:t2bot.ioᴘʀᴏғғᴀᴘᴛ
In reply to I75k1ddy
If I logout using 'xyz' token

Then Using the same token to access isAuthenticated endpoints (endpoints which requires user to be logged in to access ) , will i be able to access it ?
Yes if the token isn't expired.
16:37:32
@telegram_372084874:t2bot.io#!/usr/bin/env h@xThats for your own safety. Just think about cookie stealer.16:55:57
@telegram_1456539843:t2bot.ioh4ck3r@parrot
In reply to I75k1ddy
If I logout using 'xyz' token

Then Using the same token to access isAuthenticated endpoints (endpoints which requires user to be logged in to access ) , will i be able to access it ?
During logout u clear the cookies naa .. if u are not clearing then what's the point of logout ?
16:43:01
@telegram_1456539843:t2bot.ioh4ck3r@parrot
In reply to #!/usr/bin/env h@x
Thats for your own safety.
Just think about cookie stealer.
Well .. I do have httponly enabled for most like for refresh token etc .. so most won't work until the user decides to give away ..
And I clear from the backend .. like I'll do a set-cookie on the jet token and set it as 0 or something
16:59:07
@telegram_38231706:t2bot.iowother
In reply to I75k1ddy
If I logout using 'xyz' token

Then Using the same token to access isAuthenticated endpoints (endpoints which requires user to be logged in to access ) , will i be able to access it ?
Depends on how the dev rolled the JWT.

When I did it we have our tokens 4 hours, and the option to refresh expired tokens on the fly. But we weren't exposing anything too sensitive.

My current stack is more restrictive.
17:01:59
@telegram_1456539843:t2bot.ioh4ck3r@parrot
In reply to wother
Depends on how the dev rolled the JWT.

When I did it we have our tokens 4 hours, and the option to refresh expired tokens on the fly. But we weren't exposing anything too sensitive.

My current stack is more restrictive.
Ah putting sensitive data in jws is not a good idea .. that's why jwes exist
17:42:23
@telegram_1456539843:t2bot.ioh4ck3r@parrotHm .. I guess I should move on from curl19:16:43
@telegram_1456539843:t2bot.ioh4ck3r@parrotOoh ... I see .. Is postman that good ? .. I see alot of ppl use it19:15:48
@telegram_621861198:t2bot.ioI75k1ddyYeah, it is19:16:21
@telegram_621861198:t2bot.ioI75k1ddy
In reply to wother
Depends on how the dev rolled the JWT.

When I did it we have our tokens 4 hours, and the option to refresh expired tokens on the fly. But we weren't exposing anything too sensitive.

My current stack is more restrictive.
Within that 4 hours who has access to token still access private endpoints untill its expired!
19:15:53
@telegram_621861198:t2bot.ioI75k1ddy
In reply to h4ck3r@parrot
During logout u clear the cookies naa .. if u are not clearing then what's the point of logout ?
Was doing API testing with postman
19:14:04

Show newer messages


Back to Room ListRoom Version: 6