Exploit databaseDownload repository ZIP
GH-2464d62e168ee4cca9508542db5d6595
aguerriero1998/umass-cs-590j-capstone-project
Sources for CVE-2019-2215
37 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files17
aguerriero1998/umass-cs-590j-capstone-projectRevision 3f761bfd8c46
- ↑..Parent directory
- css/
- template/
- vendor/
- LICENSE
- gen_exploit.py
- google_drive_server.py
- gulpfile.js
- implant
- implant-server.py
- index.html
- package-lock.json
- package.json
- server.py
- start.sh
- test_client.py
- toast.js
- xored-implant
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
c2-server/gulpfile.js
JavaScript · 1,359 bytes"use strict";
// Load plugins
const browsersync = require("browser-sync").create();
const del = require("del");
const gulp = require("gulp");
const merge = require("merge-stream");
// BrowserSync
function browserSync(done) {
browsersync.init({
server: {
baseDir: "./"
},
port: 3000
});
done();
}
// BrowserSync reload
function browserSyncReload(done) {
browsersync.reload();
done();
}
// Clean vendor
function clean() {
return del(["./vendor/"]);
}
// Bring third party dependencies from node_modules into vendor directory
function modules() {
// Bootstrap
var bootstrap = gulp.src('./node_modules/bootstrap/dist/**/*')
.pipe(gulp.dest('./vendor/bootstrap'));
// jQuery
var jquery = gulp.src([
'./node_modules/jquery/dist/*',
'!./node_modules/jquery/dist/core.js'
])
.pipe(gulp.dest('./vendor/jquery'));
return merge(bootstrap, jquery);
}
// Watch files
function watchFiles() {
gulp.watch("./**/*.css", browserSyncReload);
gulp.watch("./**/*.html", browserSyncReload);
}
// Define complex tasks
const vendor = gulp.series(clean, modules);
const build = gulp.series(vendor);
const watch = gulp.series(build, gulp.parallel(watchFiles, browserSync));
// Export tasks
exports.clean = clean;
exports.vendor = vendor;
exports.build = build;
exports.watch = watch;
exports.default = build;