Search found 460 matches

by hack3rcon
2019/11/05 08:12:52
Forum: CentOS 6 - General Support
Topic: Logout a SSH user.
Replies: 6
Views: 852

Re: Logout a SSH user.

Whoever wrote:
2019/11/04 21:40:54
What user did you kill?
I saw two users with the same name and I killed one of them.
by hack3rcon
2019/11/04 12:43:27
Forum: CentOS 6 - General Support
Topic: Logout a SSH user.
Replies: 6
Views: 852

Logout a SSH user.

Hello,
I used "w" command to see which user is logging on server. After it I did:

Code: Select all

# pkill -KILL -u "Username"

After it, I can't SSH to my server :(
Some part of SSH config:

Code: Select all

StrictModes yes
MaxAuthTries 3
MaxSessions 1
ClientAliveInterval 300
ClientAliveCountMax 5
How can I solve it?

Thanks.
by hack3rcon
2019/11/04 12:34:42
Forum: CentOS 6 - Security Support
Topic: Why these ports are open?
Replies: 10
Views: 1325

Re: Why these ports are open?

jlehtone wrote:
2019/11/04 12:32:18
How did you scan your server with nmap?

Can you tell the rules that allow you to access those odd ports?
I did:

Code: Select all

# nmap -sS -sU -T4 -A -v -PE -PP -PS80,443 -PA3389 -PU40125 -PY -g 53 --script "default or (discovery and safe)" URL.com
by hack3rcon
2019/11/04 12:33:04
Forum: CentOS 6 - Security Support
Topic: Configure SSH.
Replies: 3
Views: 629

Re: Configure SSH.

jlehtone wrote:
2019/11/04 12:23:57
You cannot listen an address that the machine does not have. sshd does listen all addresses of the machine by default. Is that a problem?
I read an article that said for security purpose it is better to define an IP.
by hack3rcon
2019/11/04 10:34:08
Forum: CentOS 6 - Security Support
Topic: Configure SSH.
Replies: 3
Views: 629

Configure SSH.

Hello,
In "sshd_config" file I want to change "ListenAddress" but my web server is a VM and have internal IP. This VM using some routing rules for access to the internel.
The "ListenAddress" must be my public IP or internal IP that set to my NIC?

Thanks.
by hack3rcon
2019/11/04 08:33:02
Forum: CentOS 6 - General Support
Topic: Remove a user.
Replies: 11
Views: 1190

Re: Remove a user.

I did:

Code: Select all

$ ps aux
$ crontab -u username -l
by hack3rcon
2019/11/04 08:20:53
Forum: CentOS 6 - Security Support
Topic: Why these ports are open?
Replies: 10
Views: 1325

Re: Why these ports are open?

iptables rules are: -P INPUT DROP -P FORWARD DROP -P OUTPUT ACCEPT -N SYN_FLOOD -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT -A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK ...
by hack3rcon
2019/11/03 16:13:33
Forum: CentOS 6 - Security Support
Topic: Why these ports are open?
Replies: 10
Views: 1325

Re: Why these ports are open?

TrevorH wrote:
2019/11/03 15:01:04
What firewall are you using? Because it's not set up correctly and it's allowing all traffic in!
I'm using iptables.
Allowing all traffic in? How you understand it?
by hack3rcon
2019/11/03 16:12:08
Forum: CentOS 6 - General Support
Topic: Remove a user.
Replies: 11
Views: 1190

Re: Remove a user.

How can I do this track? Any command or location? No, it's a manual process. I'd suggest using the find command to locate files that are owned by that user then review that list to see if any of those are useful. Also check all your running daemons and cron jobs to see if any of those use the user ...
by hack3rcon
2019/11/03 09:10:31
Forum: CentOS 6 - General Support
Topic: A question about Users and Groups.
Replies: 1
Views: 407

A question about Users and Groups.

Hello,
In "/etc/passwd" file I can find all linux users but all of these name have login capability????
How can I find the username that have login capability?

Thanks.

Go to advanced search