Skip to content

Commit

Permalink
permanent place for scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalii Cherkashyn authored Nov 19, 2020
1 parent d2eee30 commit 2a24953
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,22 @@
```
* [Security cheat sheet](https://www.jaiminton.com/cheatsheet/DFIR)

### place for scripts, permanent script
```
# system wide for all users
/etc/environment
/etc/profile
/etc/profile.d/my_new_update.sh
# during user login
~/.bash_profile
~/.profile
# during open the terminal
~/.bashrc
```

### socket proxy, proxy to remote machine
```
ssh -D <localport> <user>@<remote host>
Expand Down Expand Up @@ -130,8 +146,6 @@ sudo invoke-rc.d cntlm status
ss -lt | grep 3128
```



### possible solution to detect remote client to your machine
```
# open access
Expand Down

0 comments on commit 2a24953

Please sign in to comment.