Hardware

Posted in Uncategorized | Leave a comment

Download af youtube videos for offline watching

You can download YouTube videos with the Maxthon browser – and the Ressource sniffer.

  • Select Ressource sniffet, and the tab Video
  • So far I noticed that size is unknown for the link. And often there are 2 links. Still need to explore how to detect which link to use.

maxthon download videoes youtube

Example of link to a youtube video, that worked.

https://r3—sn-op5oxu-j2il.googlevideo.com/videoplayback?fexp=9407536%2C9408710%2C9409069%2C9412776%2C9415365%2C9415485%2C9416023%2C9416126%2C9416916%2C9417689%2C9417707%2C9418153%2C9418204%2C9418448%2C9419167%2C9419245%2C9419469%2C9419743%2C9419832%2C9419993%2C9420022%2C9420348&ms=au&mv=m&mt=1441623718&source=youtube&requiressl=yes&dur=2043.773&id=o-AL77vvHHldCR_jj-ZUclOGwuZg-RRBrcteEndEsVnK3Z&mn=sn-op5oxu-j2il&pl=22&mm=31&ratebypass=yes&itag=22&signature=D8F50A2AC8EFB481468E7BBD3D5B2D66D85FD872.B8EA8CD16D566BBDDABBB8F742811AC830C071FB&key=yt5&mime=video%2Fmp4&ip=188.64.152.194&expire=1441645420&ipbits=0&sparams=dur%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&upn=keZjYb_n8j0&initcwndbps=12365000&sver=3&lmt=1409754423794002

Another link example of a link that worked:

https://r3—sn-op5oxu-j2il.googlevideo.com/videoplayback?mime=video%2Fmp4&key=yt5&signature=E6318CDD780A5F484DEC079E5291F9F3A3EEEBAB.C2249AFA02968DCE3FA3E427BFAED977FE531A0E&ipbits=0&dur=1615.574&itag=22&sver=3&ratebypass=yes&expire=1442865590&ip=188.64.152.194&requiressl=yes&mt=1442843924&mv=m&sparams=dur%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&ms=au&mm=31&mn=sn-op5oxu-j2il&id=o-AKjkzZ-aoLM65dLh2Fai8TW9RCT08-P5hMG3FXlUNML8&pl=22&fexp=9407536%2C9408710%2C9409069%2C9412776%2C9415365%2C9415485%2C9416023%2C9416126%2C9417689%2C9417707%2C9418153%2C9418204%2C9418448%2C9419167%2C9419245%2C9419469%2C9419744%2C9419993%2C9420348%2C9421013%2C9421252&initcwndbps=9767500&lmt=1442533085063445&source=youtube&upn=QvFe2AeKUtw

Posted in Uncategorized | Tagged , | Leave a comment

Laptop for developer

I am looking for a good laptop, powerful enough to run programs like visual studio, android studio.

  • Screen:
    • Is 13″ enough?
    • Minimum HD.
  • Weight? 2 Kg? Maybe even less.
  • Price: 8-12.000 DKK
  • SSD – minimum 256GB
  • Need hyper-V

Andre muligheder:

  • ASUS ZENBOOK Pro UX501JW-FI184H
    (11.000 DKK / her)
  • Lenovo Yoga 2 Pro –
    • Komplet har haft den til 7.995 kr. – tror den ellers har ligget på 10.000.
      • ja, faktisk har de 25% rabat lige nu!
      • Der er 512 GB SSD!
      • (info)

Sources:

http://www.slant.co/topics/103/~what-are-the-best-laptops-for-programming-under-1-500 (2015/08).

Posted in Uncategorized | Leave a comment

Split App or Web.configwith: configSource

Sources:

Separating out WCF Configuration Into Multiple Files with configSource

Place sections in external file – example from BNRkre:

  <system.serviceModel>
    <bindings configSource="bin\SystemServiceModelBindings.config"/>
    <client configSource="bin\SystemServiceModelClient.config"/>
  </system.serviceModel>
</configuration>

If you wanted you could separate out your entire system.serviceModel section group into smaller files:

<configuration>
  <system.serviceModel>
    <services configSource="services.config"/>
    <bindings configSource="bindings.config"/>
    <behaviors configSource="behaviors.config"/>
    <extensions configSource="extensions.config"/>
  </system.serviceModel>
</configuration>

Note, however, that you can only use this for sections. This technique can’t be used for the system.serviceModel section group or for any config elements. Also note that the referenced files should contain only one section, and that you won’t need a <configuration> or <system.serviceModel> tag in them, just the section being referenced.

Posted in c#, development, Uncategorized | Tagged , | Leave a comment

Hacker workshop

Noter fra Hacker workshop

May 2015

Warning: post not ready to be read yet!!!

Tools

Tjekke servere mv. for sårbarheder /vulnarabilities Linux Kali: Metasploitable, Armitage Husk – du må ikke scanne ud i verden med mindre du har fået tilladelse!

  1. service postgresql start – console
  2. launch metaslpoit framework – menu
  3. armitage – from console
  4. gui is now launched.

Web scanner:

w3af_gui – Kali console. Scan fx. owasp_top10. mod et website. har kørt mod mit eget website…

Kali linux: apt-get update

Med virtualbox. To get guest additions to work: http://docs.kali.org/general-use/kali-linux-virtual-box-guest –> apt-get update && apt-get install -y linux-headers-$(uname -r)


IDS

https://en.wikipedia.org/wiki/Intrusion_detection_system

Suricata
Open Source IDS / IPS / NSM engine.
Suricata is a high performance Network IDS, IPS and Network Security Monitoring engine. Open Source and owned by a community run non-profit foundation, the Open Information Security Foundation (OISF).

http://www.emergingthreats.net/

www.bro.com – kan bruges til at lave et IDS. Indbygget et antal scripts.

    • Logger. fx. dns traffik.
    • certifikat…

standard installation af bro. /usr/local/bro/


ELK: Elastic Logstash Kibane https://www.elastic.co/

Burp: (…)
koster penge. men prøveversion. http://portswigger.net/burp/



WebGoat
lab til at beskytte sine websites https://www.owasp.org/index.php/Category:OWASP_WebGoat_Project http://overthewire.org/wargames/bandit/

http://webappsecmovies.sourceforge.net/webgoat/


Diverse links:

https://www.ripe.net/     . .

https://addons.mozilla.org/en-us/firefox/addon/tamper-data/

https://addons.mozilla.org/en-US/firefox/collections/yehgdotnet/webhacker/ – har ikke prøvet endnu.

http://www.kramse.org/home

http://webgoat.github.io/

https://www.whonix.org/Whonix is an operating system focused on anonymity, privacy and security. It’s based on the Tor anonymity network[1], Debian GNU/Linux[2] and security by isolation.



Navne: Edward Snowden, William Binney

Books

Posted in security, sikkerhed | Tagged , , | Leave a comment

Arrow in gimp

By default you cannot easily make a nice arrow in GIMP. You need to use a plugin:

You can find one in the GIMP Plugin Registry – http://registry.gimp.org/node/20269.

For more help look here:

http://www.maketecheasier.com/draw-arrows-in-gimp/

Posted in Uncategorized | Leave a comment

Rename multiple files?

I found this tool that I like:

Bulkrenameutility.

I is a little complicated, but very useful.

http://www.bulkrenameutility.co.uk/Shots/BRU_Main_Screen.gif

Posted in programs | Tagged , | Leave a comment

Browser plugins

As a developer I can recommend this plugin:

Appspector – It is only available for the Chrome browser.

It will show you which tecknologies a given site is using. Fx. jQuery or WordPress.

Nice! 🙂

Posted in Uncategorized | Tagged , | Leave a comment

Windows Phone development

Some notes to setup computer and Visual Studio: Is my machine capable of running a virtual phone: Check this page Hyper-V for more info.

Also see my own page here.

Requirements:

    • Hyper-V – check using CoreInfo
    • SLAT – check using Intel Processor Identification Utility
If your processor supports SLAT it will display Yes next to Intel VT-x with Extended Page Tables.

If your processor supports SLAT it will display Yes next to Intel VT-x with Extended Page Tables.

If you see an asterisk next to EPT (Extended Page Tables) then your CPU supports Widows 8 Hyper-V.

If you see an asterisk next to EPT (Extended Page Tables) then your CPU supports Widows 8 Hyper-V.

The result should be that my 5 year old PC supports hyper-v, and that I can thereby take advantage of it under windows 8 – Yeah 🙂

Posted in Uncategorized | Tagged , , | 1 Comment

Free Cloud storage – Dropbox and the others!

Everybody know dropbox.com nowadays and it is also an excellent service. However many competitors has arrived now, and here I would like to point out a few:

  1. Box
  2. Dropbox
  3. Microsofts live – now oneDrive
  4. Jottacloud
  5. Tresorit
  6. MediaFire
  7. pCloud
  8. Google Drive
  9. ? who to come?

 

Bubbles:

Mega – 50 GB,

SugarSync –

PCloud

PromptFile – 250 GB !!!

SFShare – 50 GB. Russian??? –

 

360http://yunpan.360.cn/ – it is in Chinese!!! But “360 Cloud Drive is a Chinese service that offers a huge 360 GB of storage when you first sign up. If you download the desktop client, you instantly get upgraded to over 10 TB of storage!”.
I have not tried it yet!!!

 

Links to more:

http://freebies.about.com/od/free-cloud-storage/fl/free-cloud-storage-comparison.htm

 

1. Box.com – is another good service. You get 10 GB of free storage. Sign up here: box.com. (Not sure if you can still get free space?)

2. Dropbox only gives away 2 GB for free, but is still a very good service if you can do with that space.Probably the most popular service – because they were the first to become big.

3. Jottacloud.com is a Norwegian service which is a direct competitor to Dropbox. Fast and cheaper than dropbox if you choose the payment solution. They offer 5 GB for free.

Then I need to mention the big companies Microsoft and Google:

4. Microsoft has a reliable service, OneDrive (formerly under the name SkyDrive and live) with you hotmail / outlook account; they offer you 7 GB.As og 2016 they offer 5 GB.

8. Personally I do not use googles service but they offer 15GB and is included with your gmail.They call it Google Drive. But if not all, then Google lives from you information…

5. Upcoming Tresorit! 3 GB free. Storage with encryption!

6. MediaFire – seems to stay in business also after others (eg. copy and ubuntu one) started to shutdown. They offer 10 GB to start, with the options to get more by referring, installing software ect. – up to 40 GB! But 5-10 GB extra is probably more likely to get. Cons: Must sign on to your account once a year to prevent expiration. See also http://freebies.about.com/od/computerfreebies/fl/mediafire-review.htm.

7. pCloud – 10 GB. Get up to 20 GB total – for free.

I will monitor the market to see if there are other trustworty services like the above mentioned. Feel free to comment!

Here you can see even more: http://freebies.about.com/od/computerfreebies/tp/free-cloud-storage.01.htm

 

Updates:
7/5-2014, added Jottacloud.
17/2-2016, Copy is terminating. Added more services.

Old stuff:

Copy.com is a from the well known harddisk producer Barracuda. At the moment you get 20 GB complete free. You need to sign up via a referral link to get all 20 GB else you will have to do with 15 GB. Feel free to use my referral link for Copy.com to get 5 GB extra space. update February 2016: Copy will stop their service – so not recommended anymore!

Posted in Storage | Tagged , , , , , , , | Leave a comment