We use the Pretty Link Pro WordPress plugin, which is a bargain and can be purchased by clicking here, to tweet articles under the @questiondefense Twitter account. This not only is easy to do with Pretty Link Pro but it provides a great method of driving traffic to our articles here on Question-Defense.com. There have been numerous times when one of us forgets to check the tweet article checkbox in the Pretty Link Pro bucket from the Add New Post page when writing articles. The issue with that is the fact that once an article is published there is no tweet article button from the Edit Post page within WordPress. Below we describe the process of tweeting a post after it has been published in WordPress.
Tags: auto tweet, character limit, checkbox, post, pretty link, pretty link pro, publish, tweet, tweet button, twitter, twitter me page, WordPress, WordPress admin|
Jan
20
2013
cut – Represent A Tab As The Delimiter With Linux cut CommandPosted by alex in InsightsI have been using the cut command a lot recently to shed extra data from large text files. I typically use cut with a specific delimiter by activating the -d switch and I thought that the -d switch was required. It turns out that -d is not required and by default -d actually defaults to the delimiter being a tab. When you need to have a tab as the delimiter for cut you simply don’t specify the -d switch. Below I show a couple examples of a file trimmed down using cut with and without the -d switch as well as another way to convert tabs in a file to spaces which then will allow you to use the Linux cut command with the -d” ” switch. Tags: /D, CentOS, CLI, command, cut, expand, Linux, space, standard out, stdout, switch, tab, ubuntu
Jan
19
2013
Screenshots – Configure Keyboard Shortcuts For Backtrack LinuxPosted by alex in InsightsSince I write a lot of articles about Backtrack Linux it is nice to have keyboard shortcuts for different screenshot commands. The two screenshot commands that I use most in Backtrack are “gnome-screenshot -w” and “gnome-screenshot”. The gnome-screenshot command will take a screenshot of the entire desktop while “gnome-screenshot -w” will take a screenshot of the active window only. Below I describe setting up keyboard shortcuts for each of these commands on Backtrack Linux. The below information will work the same on Ubuntu 10.04 as it does on Backtrack Linux since that is what the current Backtrack Linux version (Backtrack 5 release 3) is built on. Tags: 10.04, backtrack, backtrack linux, bt5, bt5r3, custom keyboard shortcut, gimp, gnome-screenshot, keyboard shortcut, Linux, ubuntu, ubuntu 10.04If you decide to remove the default kismet install on Backtrack Linux so you can then compile kismet from source you will be missing some functionality. One of the bits of functionality not installed by default on Backtrack 5 release 3 is the PCRE Regex Filters. You can easily enable this functionality by installing a single package before you run the kismet configure command when compiling the source. Tags: backtrack, backtrack linux, bt5r3, compile, configure, kismet, libpcre3-dev, Linux, pcre, pcre regex filters, regexFor anyone that has done a long source code audit is not about really finding the easy/low hanging fruit stuff that can be slow and sometimes a bit “frustrating”. I recently had a nice 660,000 lines of code source code audit to be done in less than 2 weeks, the language was Java, so the first thing that was to be done (they had already hit fortify and other tools with it) and were looking for a bit of more interesting stuff apparently. This raised some specific problems while working and finding the vulnerabilities and exploitability of them. Tags: bash, functions, git, grep, java, source code, static source code, terminal |









Entries (RSS)