Illumination Software Creator

Posted by ghimau under
Salam, den nak kongsi dengan korang semuo satu tools untuk membantu programmer membuek coding.

Ni tagline dari website diorang :
llumination Software Creator allows anyone to create their own software applications… without writing a single line of “code”.

Macam best kan. Hehehe.. dan dah cubo guno.. agak poning gak sobab documentation eh macam hampeh. By the way.. nak download software ni korang kene gi kat sini : http://radicalbreeze.com/

Untuk post ni den akan kongsi buek satu simple application guno pythongtk.

Ni adolah paparan untuk interface. Sonang yo nak buek interface eh.. drag and drop yo. Masalah sikit sebab documentation dia tak lengkap sangat. So kena pandai-pandailah nak explore.



Lopeh tu kito buek la logic flow eh. Kat sini ada beberap option, kalau nak buek aplikasi yang bosar dan banyak logic flow memang tak sesuai la nak guno tools ni.



Lopeh dah siap leh la test run aplikasi kito tu :) Nice... Menggukan teknik penipuan.. hehehe.. den hanyo parse command kepado nmap dan paparkan result dalam mesej box. Poning pakcik dongan gtk ni. Tapi tools ni memudahkan nak buek UI la.




Ni adolah coding longkap. Korang leh try la kalau nak :)
  1. #!/usr/bin/env python  
  2.   
  3. import pygtk  
  4. pygtk.require('2.0')  
  5. import gobject  
  6. import random  
  7. import os  
  8. import gtk  
  9. import os  
  10. #EndImports  
  11.   
  12. class iscApp1:  
  13.  iscVoutput = ""  
  14.  iscVinput = ""  
  15.  iscWindow4Window1 = gtk.Window(gtk.WINDOW_TOPLEVEL)  
  16.  iscWindow4Window1Fixed = gtk.Fixed()  
  17.  iscWindow4Label0 =gtk.Label("SIMPLE TCP IP PORT SCANNER | by ghimau")  
  18.  iscWindow4Label20 =gtk.Label("*******************************************")  
  19.  iscWindow4Label30 =gtk.Label("Target IP :")  
  20.  iscWindow4TextBox0 = gtk.Entry()  
  21.  iscWindow4Button0 = gtk.Button("Mula Scan")  
  22.  iscWindow4Button10 = gtk.Button("Keluar Aplikasi")  
  23.   
  24.  #EndOfGlobalVariables  
  25.   
  26.  def main(self):  
  27.   gtk.main()  
  28.   
  29.  def destroy(self, widget, data=None):  
  30.   gtk.main_quit()  
  31.   
  32. #EndOfClass  
  33.   
  34. def iscGetTextBox5():  
  35.  thisiscApp1.iscVinput = "nmap -sS -PN " + thisiscApp1.iscWindow4TextBox0.get_text() + " | findstr open"  
  36.  iscSystemScript2()  
  37.  #iscGetTextBox5Done  
  38.   
  39.   
  40. def iscAppQuit6():  
  41.  thisiscApp1.destroy(None,None)  
  42.  #iscAppQuit6Done  
  43.   
  44.   
  45. def iscMessageBox3():  
  46.  message = thisiscApp1.iscVoutput  
  47.  dialog = gtk.MessageDialog(None, gtk.DIALOG_MODAL, gtk.MESSAGE_INFO, gtk.BUTTONS_NONE, message)  
  48.  dialog.add_button(gtk.STOCK_CLOSE, gtk.RESPONSE_CLOSE)  
  49.  dialog.run()  
  50.  #iscMessageBox3Open  
  51.  dialog.destroy()  
  52.  #iscMessageBox3Closed  
  53.   
  54. def iscWindow4():  
  55.  thisiscApp1.iscWindow4Label0 =gtk.Label("SIMPLE TCP IP PORT SCANNER | by ghimau")  
  56.  thisiscApp1.iscWindow4Label20 =gtk.Label("*******************************************")  
  57.  thisiscApp1.iscWindow4Label30 =gtk.Label("Target IP :")  
  58.  thisiscApp1.iscWindow4TextBox0 = gtk.Entry()  
  59.  thisiscApp1.iscWindow4Button0 = gtk.Button("Mula Scan")  
  60.  thisiscApp1.iscWindow4Button10 = gtk.Button("Keluar Aplikasi")  
  61.  thisiscApp1.iscWindow4Window1 = gtk.Window(gtk.WINDOW_TOPLEVEL)  
  62.  thisiscApp1.iscWindow4Window1Fixed = gtk.Fixed()  
  63.  thisiscApp1.iscWindow4Window1.set_title("Simple TCP Port Scanner ")  
  64.  thisiscApp1.iscWindow4Window1.set_default_size(303163)  
  65.  thisiscApp1.iscWindow4Window1.add(thisiscApp1.iscWindow4Window1Fixed)  
  66.  thisiscApp1.iscWindow4Window1Fixed.width = 303  
  67.  thisiscApp1.iscWindow4Window1Fixed.height = 163  
  68.  thisiscApp1.iscWindow4Window1.connect("delete_event", iscWindow4Closed)  
  69.  thisiscApp1.iscWindow4Window1Fixed.show()  
  70.  thisiscApp1.iscWindow4Window1Fixed.put(thisiscApp1.iscWindow4Label0, 3818)  
  71.  thisiscApp1.iscWindow4Label0.set_size_request(21812)  
  72.  thisiscApp1.iscWindow4Label0.show()  
  73.  thisiscApp1.iscWindow4Window1Fixed.put(thisiscApp1.iscWindow4Label20, 1637)  
  74.  thisiscApp1.iscWindow4Label20.set_size_request(27715)  
  75.  thisiscApp1.iscWindow4Label20.show()  
  76.  thisiscApp1.iscWindow4Window1Fixed.put(thisiscApp1.iscWindow4Label30, 2170)  
  77.  thisiscApp1.iscWindow4Label30.set_size_request(6412)  
  78.  thisiscApp1.iscWindow4Label30.show()  
  79.  thisiscApp1.iscWindow4Window1Fixed.put(thisiscApp1.iscWindow4TextBox0, 8864)  
  80.  thisiscApp1.iscWindow4TextBox0.set_text("")  
  81.  thisiscApp1.iscWindow4TextBox0.set_size_request(12323)  
  82.  thisiscApp1.iscWindow4TextBox0.connect("changed", iscWindow4TextBoxChanged)  
  83.  thisiscApp1.iscWindow4TextBox0.show()  
  84.  thisiscApp1.iscWindow4Window1Fixed.put(thisiscApp1.iscWindow4Button0, 25109)  
  85.  thisiscApp1.iscWindow4Button0.set_size_request(6227)  
  86.  thisiscApp1.iscWindow4Button0.connect("clicked", iscWindow4ButtonClicked)  
  87.  thisiscApp1.iscWindow4Button0.show()  
  88.  thisiscApp1.iscWindow4Window1Fixed.put(thisiscApp1.iscWindow4Button10, 93110)  
  89.  thisiscApp1.iscWindow4Button10.set_size_request(8026)  
  90.  thisiscApp1.iscWindow4Button10.connect("clicked", iscWindow4Button1Clicked)  
  91.  thisiscApp1.iscWindow4Button10.show()  
  92.  thisiscApp1.iscWindow4Window1.show()  
  93.  #iscWindow4Opened  
  94.  #iscWindow4Done  
  95.   
  96.   
  97. def iscWindow4Closed(self, other):  
  98.  pass  
  99.  iscAppQuit6()  
  100.  #iscWindow4Closed  
  101.   
  102.   
  103. def iscWindow4TextBoxChanged(self):  
  104.  pass  
  105.  #iscWindow4TextBoxChanged  
  106.   
  107.   
  108. def iscWindow4ButtonClicked(self):  
  109.  pass  
  110.  iscGetTextBox5()  
  111.  #iscWindow4ButtonClicked  
  112.   
  113.   
  114. def iscWindow4Button1Clicked(self):  
  115.  pass  
  116.  iscAppQuit6()  
  117.  #iscWindow4Button1Clicked  
  118.   
  119.   
  120. def iscSystemScript2():  
  121.  # Leading spaces required as indent...  
  122.  thisiscApp1.iscVoutput=os.popen( thisiscApp1.iscVinput ).read()  
  123.  # Line below is where Output 1 is called...  
  124.  iscMessageBox3()  
  125.  # Leading spaces required as indent...  
  126.  thisiscApp1.iscVoutput=os.popen( thisiscApp1.iscVinput ).read()  
  127.  # Line below is where Output 1 is called...  
  128.  #iscSystemScript2Done  
  129.   
  130. #EndOfFunctions  
  131.   
  132. thisiscApp1 = iscApp1()  
  133.   
  134. iscWindow4()  
  135. #iscApp1Launched  
  136. #EndOfStatements  
  137.   
  138. thisiscApp1.main()  

2 comments:

On 9 May 2011 at 08:18 , t4ip wryt3r said...

tools ni memang menarik lah,,

 
On 9 May 2011 at 11:35 , ghimau said...

memang cun bro.. try la :)