<commit_before>---
layout: post
title:  "Finding SSL Hosts"
date:   2015-04-28 17:26
categories: general
---

RHEL/CentOS

httpd -S 2>&1|grep .port 443 name.|grep .v `hostname`| awk {'print $4'}

Debian/Ubuntu

apache2ctl -S 2>&1|grep "port 443 name"|grep -v `hostname`| awk {'print $4'}<commit_msg>amend editing<commit_after>---
layout: post
title:  "Finding SSL Hosts"
date:   2015-04-28 17:26
categories: general
---

RHEL/CentOS
```bash
httpd -S 2>&1|grep "port 443 name"|grep -v `hostname`| awk {'print $4'}
```
Debian/Ubuntu
```bash
apache2ctl -S 2>&1|grep "port 443 name"|grep -v `hostname`| awk {'print $4'}
```
{'fraction_non_alphanumeric': 0.18739903069466882, 'fraction_numerical': 0.08077544426494346, 'mean_word_length': 4.2100840336134455, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6805429', 'n_tokens_mistral': 298, 'n_tokens_neox': 247, 'n_words': 74}